protected function configure() { parent::configure(); $this->setName('migrations:diff')->setDescription('Generate a migration by comparing your current database to your mapping information.')->setHelp(<<<EOT The <info>%command.name%</info> command generates a migration by comparing your current database to your mapping information: <info>%command.full_name%</info> You can optionally specify a <comment>--editor-cmd</comment> option to open the generated file in your favorite editor: <info>%command.full_name% --editor-cmd=mate</info> EOT )->addOption('filter-expression', null, InputOption::VALUE_OPTIONAL, 'Tables which are filtered by Regular Expression.'); }
protected function configure() { $this->setName('migrations:diff')->setDescription('Generate a migration by comparing your current database to your mapping information.')->addOption('editor-cmd', null, InputOption::PARAMETER_OPTIONAL, 'Open file with this command upon creation.')->setHelp(<<<EOT The <info>%command.name%</info> command generates a migration by comparing your current database to your mapping information: <info>%command.full_name%</info> You can optionally specify a <comment>--editor-cmd</comment> option to open the generated file in your favorite editor: <info>%command.full_name% --editor-cmd=mate</info> EOT ); parent::configure(); }
protected function configure() { parent::configure(); $this->setName('migrations:diff')->setDescription('Generate a migration by comparing your current database to your mapping information.')->setHelp(<<<EOT The <info>%command.name%</info> command generates a migration by comparing your current database to your mapping information: <info>%command.full_name%</info> You can optionally specify a <comment>--editor-cmd</comment> option to open the generated file in your favorite editor: <info>%command.full_name% --editor-cmd=mate</info> EOT ); }
protected function configure() { parent::configure(); $this->setName('doctrine:migrations:generate')->addOption('em', null, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command'); }
protected function configure() { parent::configure(); }
protected function configure() { parent::configure(); $this->setName('doctrine:migrations:generate')->addOption('bundle', null, InputOption::PARAMETER_REQUIRED, 'The bundle to load migrations configuration from.')->addOption('em', null, InputOption::PARAMETER_OPTIONAL, 'The entity manager to use for this command.'); }
protected function configure() { parent::configure(); $this->addOption('em', null, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command'); }
protected function configure() { parent::configure(); $this->setName('ezpublish:migrations:generate'); }
protected function configure() { parent::configure(); $this->setName('doctrine:migrations:generate')->addOption('db', null, InputOption::VALUE_REQUIRED, 'The database connection to use for this command.')->addOption('em', null, InputOption::VALUE_REQUIRED, 'The entity manager to use for this command.')->addOption('shard', null, InputOption::VALUE_REQUIRED, 'The shard connection to use for this command.'); }