You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
node migrate --help # show CLI help
node migrate up # apply migrations
node migrate down # revert the last migration
node migrate create --name new-migration.js # create a new migration file
node migrate up # apply migrations again
node migrate down --to 0 # revert all migrations
The text was updated successfully, but these errors were encountered:
What problem does this feature solve
umzug: https://github.com/sequelize/umzug
umzug 管理数据库的 migration 和 seeds 的优势
What does the proposed API look like
umzug migrate 例子: https://github.com/sequelize/umzug/blob/main/examples
普通形式的 migration
源码路径: https://github.com/sequelize/umzug/blob/main/examples/0-vanilla/migrate.js
migrate.js
node 直接运行 migrate.js
The text was updated successfully, but these errors were encountered: