Ejemplo n.º 1
0
 protected function configure()
 {
     $this->setName('status')->setDescription('List of migrations already executed and list of migrations to execute');
     parent::configure();
 }
Ejemplo n.º 2
0
 protected function configure()
 {
     $this->addOption('dry', null, InputOption::VALUE_NONE, 'Only print queries, no execution');
     parent::configure();
 }
Ejemplo n.º 3
0
 protected function configure()
 {
     $this->setName('init')->setDescription('Initialize phoenix');
     parent::configure();
 }
Ejemplo n.º 4
0
 protected function configure()
 {
     $this->setName('cleanup')->setDescription('Rollback all migrations and delete log table');
     parent::configure();
 }
Ejemplo n.º 5
0
 protected function configure()
 {
     parent::configure();
     $this->setName('create')->setDescription('Create migration')->addArgument('migration', InputArgument::REQUIRED, 'Name of migration')->addArgument('dir', InputArgument::OPTIONAL, 'Directory to create migration in')->addOption('template', null, InputOption::VALUE_OPTIONAL, 'Path to template');
 }