📜  adoni migrate - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:11.796000             🧑  作者: Mango

代码示例1
node ace make:migration users

node ace migration:run

# Rollback the latest batch
node ace migration:rollback

# Rollback until the start of the migration
node ace migration:rollback --batch=0

# Rollback until batch 1
node ace migration:rollback --batch=1