状态
要显示所有迁移以及它们是否已运行,请使用以下命令:
typeorm migration:show -- -d path-to-datasource-config[X] = 迁移已运行
[ ] = 迁移待执行 / 未应用
To show all migrations and whether they've been run or not use following command:
typeorm migration:show -- -d path-to-datasource-config[X] = Migration has been ran
[ ] = Migration is pending/unapplied