sequelize-auto-migrations icon indicating copy to clipboard operation
sequelize-auto-migrations copied to clipboard

fixing outdated property names

Open moda20 opened this issue 4 years ago • 2 comments

changed the sequelize attribute to database and the attributes attribute on models to tableattributes

moda20 avatar Jan 05 '20 13:01 moda20

This will create the right migrations with table attributes not only the table names fixes : #69

moda20 avatar Jan 05 '20 13:01 moda20

This pull request has an issue. sequelize is not defined. I changed and it's working fine with autogenerated models/index.js

Row 72 makemigrations.js From let sequelize = require(modelsDir).database; To let sequelize = require(modelsDir);

Naddyson avatar Mar 11 '20 20:03 Naddyson