**解决方法:先安装此插件,然后再手工运行一次`php think migrate:run`命令。**
-----
问题症结:
用`php think migrate:status`查看迁移的表:
```
$ php think migrate:status
Status Migration ID Started Finished Migration Name
----------------------------------------------------------------------------------
......
up 20211013152732 2023-10-12 14:28:37 2023-10-12 14:28:37 Conf
up 20211113034943 2023-10-12 14:28:37 2023-10-12 14:28:38 Area
down 20211226001625 PluginCurdField
down 20211226001641 PluginCurdTable
```
其中`PluginCurdTable`和`PluginCurdField`的状态是`down`,只需要重新运行一次`php think migrate:run`即可。
```
$ php think migrate:run
== 20211226001625 PluginCurdField: migrating
== 20211226001625 PluginCurdField: migrated 0.1226s
== 20211226001641 PluginCurdTable: migrating
== 20211226001641 PluginCurdTable: migrated 0.0505s
All Done. Took 0.2870s
```