gancio/docs/dev/migration.md
2019-07-26 23:53:02 +02:00

404 B

layout title permalink parent
default Migration /dev/migration Hacking

Migration

If you need to modify the db's structure while hacking, it's super easy, just change server/api/models/.

If you then decide that your changes are good for production, a sequelize migration is needed:

Create a migration:

./node_modules/.bin/sequelize migration:generate --name your_migration