Beispiel #1
0
 protected function configure()
 {
     $this->setName('migrate')->addOption('first', null, InputOption::VALUE_NONE, 'Run only first migrations')->setDescription('Run migrations');
     parent::configure();
 }
Beispiel #2
0
 protected function configure()
 {
     parent::configure();
     $this->setName('rollback')->addOption('all', null, InputOption::VALUE_NONE, 'Rollback all migrations')->setDescription('Rollback migrations');
 }