新增rollback和create migration 命令

This commit is contained in:
wuyanwen
2020-01-21 17:00:17 +08:00
parent ef545b8732
commit 2c732555b0
4 changed files with 261 additions and 55 deletions

View File

@@ -23,8 +23,8 @@ class MigrateRunCommand extends Run
The <info>migrate:run</info> command runs all available migrations, optionally up to a specific version
<info>php think catch-migrate:run module</info>
<info>php think catch-migrate:run -t 20110103081132</info>
<info>php think catch-migrate:run -d 20110103</info>
<info>php think catch-migrate:run module -t 20110103081132</info>
<info>php think catch-migrate:run module -d 20110103</info>
<info>php think catch-migrate:run -v</info>
EOT
@@ -63,4 +63,4 @@ EOT
{
return CatchAdmin::moduleMigrationsDirectory($this->module);
}
}
}