Ejemplo n.º 1
0
 protected function configure()
 {
     parent::configure();
     $this->setName('claroline:migration:replace')->setDescription('Replace the last migration of a bundle (this is equivalent to downgrade => discard => generate => upgrade)');
     $this->addOption('output', null, InputOption::VALUE_REQUIRED, 'The bundle output if you want migrations to be generated somewhere else');
 }
 protected function configure()
 {
     parent::configure();
     $this->setName('claroline:migration:downgrade')->setDescription('Downgrades a bundle to a specified version.');
 }