loopbackio / loopback-connector-cassandra

Cassandra connector for the LoopBack framework.
Other
13 stars 22 forks source link

Error: unconfigured table #40

Closed hoangtrongphuc closed 7 years ago

hoangtrongphuc commented 7 years ago

I use cassandra 3.10 When I create record with loopback API, server show error Error: unconfigured table UserEvent Check it please !

manojchandrashekar commented 7 years ago

You need to either manually create the table using cqlsh or use migrate before using the APIs.

hoangtrongphuc commented 7 years ago

Thank you, @manojchandrashekar . Work like a charm !

belghithb commented 6 years ago

@manojchandrashekar hello, when i created tables manually it works but when i try to automigrate or autoupdate it didn't work , may you explain how to use migrate ? thanks in advance!

manojchandrashekar commented 6 years ago

I'm sorry, I haven't tested it with migration - Maybe this will help? https://loopback.io/doc/en/lb3/Creating-a-database-schema-from-models.html#auto-update

belghithb commented 6 years ago

Ok , thank you

2018-03-27 9:47 GMT+01:00 Manoj Chandrashekar notifications@github.com:

I'm sorry, I haven't tested it with migration - Maybe this will help? https://loopback.io/doc/ja/lb3/Creating-a-database- schema-from-models.html#auto-update

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/strongloop/loopback-connector-cassandra/issues/40#issuecomment-376445799, or mute the thread https://github.com/notifications/unsubscribe-auth/AZ4EbmTTv8GpOP-s49GGCMDy6ik3XsWbks5tifymgaJpZM4OBw4d .