Total Complexity | 3 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Coverage | 88.89% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | final class RollupCommand extends DoctrineCommand |
||
16 | { |
||
17 | /** @var string */ |
||
18 | protected static $defaultName = 'migrations:rollup'; |
||
19 | |||
20 | 2 | protected function configure() : void |
|
28 | 2 | The <info>%command.name%</info> command rolls up migrations by deleting all tracked versions and |
|
29 | inserts the one version that exists that was created with the <info>migrations:dump-schema</info> command. |
||
30 | |||
31 | <info>%command.full_name%</info> |
||
32 | |||
33 | To dump your schema to a migration version you can use the <info>migrations:dump-schema</info> command. |
||
34 | EOT |
||
35 | ); |
||
36 | 2 | } |
|
37 | |||
38 | 2 | protected function execute(InputInterface $input, OutputInterface $output) : int |
|
59 |