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