# 状态

> 英文标题：Status
> 官网原文：https://typeorm.io/docs/migrations/status
> 文档版本：TypeORM v1.1
> 体例：英文原文（EN）与中文译文（ZH）逐块并列，共 5 块

---

<!-- EN -->
# Status

<!-- ZH -->
# 状态

<!-- EN -->
To show all migrations and whether they've been run or not use following command:

<!-- ZH -->
要显示所有迁移以及它们是否已运行，请使用以下命令：

<!-- EN -->
```shell
typeorm migration:show  -- -d path-to-datasource-config
```

<!-- ZH -->
```shell
typeorm migration:show  -- -d path-to-datasource-config
```

<!-- EN -->
\[X] = Migration has been ran

<!-- ZH -->
\[X] = 迁移已运行

<!-- EN -->
\[ ] = Migration is pending/unapplied

<!-- ZH -->
\[ ] = 迁移待执行 / 未应用
