protected function configure() { $this->setName('status')->setDescription('List of migrations already executed and list of migrations to execute'); parent::configure(); }
protected function configure() { $this->addOption('dry', null, InputOption::VALUE_NONE, 'Only print queries, no execution'); parent::configure(); }
protected function configure() { $this->setName('init')->setDescription('Initialize phoenix'); parent::configure(); }
protected function configure() { $this->setName('cleanup')->setDescription('Rollback all migrations and delete log table'); parent::configure(); }
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'); }