Sequelize in Node/Express - 'no such table: main.User` error
Aha! A small error has derailed my entire operation. In the migration files, references.model
must be pluralized!
references: { model: "Users", key: "id"}
Boom.
Aha! A small error has derailed my entire operation. In the migration files, references.model
must be pluralized!
references: { model: "Users", key: "id"}
Boom.