tlan_turing/turing-migration

数据库迁移工具

v1.1.0 2024-10-18 10:19 UTC

This package is auto-updated.

Last update: 2024-12-18 10:53:59 UTC


README

使用方式

创建

创建在根目录

php think migrate:create UserName

创建在多应用中

php think migrate:create adminapi@UserName

回滚

php think migrate:rollback

执行迁移

全局迁移

此命令执行包含多应用目录和根目录迁移 >php think migrate:run

局部迁移(多应用)

php think migrate:run adminapi

查询状态

php think migrate:status