1602 / 1602/compound

database adapters not working

Đang mở
#585 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
1.6k
Fork
179
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hey i just started to play around with compound and its ORM, but... the database choices seem to be failing for me. I prefer the coffeescript, _but tried with plain JS, too._

The workflow is basically the same across all my attempts, and i am using osx 10.9 mavericks:

`compound init noir-eso --coffee -css less --db [one of below]`
`cd noir-eso`
`npm install`
`compound g crud race name image text markdown`
`compound db create`
`compound db migrate`
`compound s`
--> go to /races and try adding a new record

**sqlite3**: automigrate/autocreate just doesn't work. Changed database settings to a concrete file, and my inspection tool shows that there is no table created.

**mysql**: the "mysql is not installed" error seen in another ticket here. none of the solutions help.

**nano**:

```
[...]/noir-eso/node_modules/jugglingdb-nano/lib/nano.js:23
return db.insert(design, '_design/nano', function(err, doc) {
^
TypeError: Object # has no method 'insert'
```

**firebird**: `[Error: ENOENT, no such file or directory '/usr/local/lib/node_modules/compound/templates/config/database_firebird.coffee']`

redis isn't suitable for my planned project, mongoDB seems to work, but isn't really suitable, too.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.