generator-express icon indicating copy to clipboard operation
generator-express copied to clipboard

Add sequelize migrations

Open xpepermint opened this issue 9 years ago • 4 comments

It would be great to have a complete sequelize configuration set up - including migrations.

sequelize init

xpepermint avatar Mar 29 '15 14:03 xpepermint

I'll have a look into this as it's something new with 2.0. By default however app.js uses .sync() which will create your tables

petecoop avatar Mar 29 '15 14:03 petecoop

We should just run the command above. Thanks.

xpepermint avatar Mar 29 '15 14:03 xpepermint

@xpepermint +1

elover avatar Apr 18 '15 16:04 elover

atleast .sequelizerc is needed for sequelize-cli to work because this project generator uses different from standard sequelize configuration file (and index.js).

rzk avatar Oct 10 '15 12:10 rzk