denodb: problem with db.sync()
error: Uncaught (in promise) SqliteError: index email already exists
I have a subscriptions table with email as a field.
Using db.sync() causes this error. I’m not sure if I need it. It appears to work without it, but I’m not sure.
Can someone clarify the point of db.sync()
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 18
I have the same issue,
db.sync()throws an error whendropset to false.