Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kwan committed Jan 27, 2021
1 parent 2251e15 commit 5fccda9
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions src/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
// | Author: zhangyajun <[email protected]>
// +----------------------------------------------------------------------

\think\Console::addDefaultCommands([
"think\\migration\\command\\migrate\\Create",
"think\\migration\\command\\migrate\\Run",
"think\\migration\\command\\migrate\\Rollback",
"think\\migration\\command\\migrate\\Breakpoint",
"think\\migration\\command\\migrate\\Status",
"think\\migration\\command\\seed\\Create",
"think\\migration\\command\\seed\\Run",
]);
if(class_exists('\think\Console')){
\think\Console::addDefaultCommands([
"think\\migration\\command\\migrate\\Create",
"think\\migration\\command\\migrate\\Run",
"think\\migration\\command\\migrate\\Rollback",
"think\\migration\\command\\migrate\\Breakpoint",
"think\\migration\\command\\migrate\\Status",
"think\\migration\\command\\seed\\Create",
"think\\migration\\command\\seed\\Run",
]);
}

0 comments on commit 5fccda9

Please sign in to comment.