Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | protected function configure() |
||
15 | { |
||
16 | $this->setName('make:migration') |
||
17 | ->setDescription('Create a new migration file.') |
||
18 | ->setHelp('This command allows you to make migration files.') |
||
19 | ->addArgument( |
||
20 | 'name', |
||
21 | InputArgument::REQUIRED, |
||
22 | 'The name of your migration, words separated by underscores.') |
||
23 | ->addOption( |
||
24 | 'create', |
||
25 | 'c', |
||
26 | InputOption::VALUE_REQUIRED, |
||
27 | 'The name of the table to create.' |
||
28 | ); |
||
29 | } |
||
30 | |||
59 |