Example #1
0
 protected function configure()
 {
     parent::configure();
     $this->setName('exec')->setDescription('Execute scripts')->addArgument('directory', InputArgument::REQUIRED, 'Sql scripts directory.');
 }
Example #2
0
 protected function configure()
 {
     parent::configure();
     $this->setName('fix')->setDescription('Fix migrate version')->addOption('all', null, InputOption::VALUE_NONE, 'Fix all versions')->addOption('clear', null, InputOption::VALUE_NONE, 'Clear version')->addArgument('version', InputArgument::OPTIONAL, 'Fix version');
 }
 protected function configure()
 {
     parent::configure();
     $this->setName('migrate')->setDescription('Execute migration');
 }
Example #4
0
 protected function configure()
 {
     parent::configure();
     $this->setName('status')->setDescription('Show migrate status');
 }