sequelize-auto-migrations
sequelize-auto-migrations copied to clipboard
'No changes found' for first migration
Trying to create the first migration
node_modules/.bin/makemigration --name init
resulting
No changes found
although there are 3 new models in the models models-path
Was this ever resolved?
Not that I am aware of
@assapir @tjsamhu
I'm guessing you didn't import your models?
Object.keys(models).forEach((modelName) => {
db[modelName] = sequelize.import(models[modelName]);
});
this help solve my issues thanks you