Example #1
0
 protected function getOptions()
 {
     return array_merge(parent::getOptions(), [['tenant', null, InputOption::VALUE_OPTIONAL, 'The tenant(s) to apply migrations on; use {all|5,8}']]);
 }
Example #2
0
 /**
  * Get the console command options.
  *
  * @return array
  */
 protected function getOptions()
 {
     return array_merge([['direction', 'd', InputOption::VALUE_OPTIONAL, 'The direction of ordering.', 'asc'], ['fkCheck', null, InputOption::VALUE_OPTIONAL, 'Enable or disable "FOREIGN_KEY_CHECKS".', false]], parent::getOptions());
 }
 protected function getOptions()
 {
     $options = parent::getOptions();
     $options[] = ['verbosity', null, InputOption::VALUE_OPTIONAL, 'The verbosity level for migration console output. One of low, medium, or high.'];
     return $options;
 }
Example #4
0
 /**
  * @return array
  */
 protected function getOptions()
 {
     return array_merge(parent::getOptions(), $this->getTenantOption());
 }
 /**
  * Get the options.
  *
  * @return array
  */
 protected function getOptions()
 {
     return array_merge(parent::getOptions(), [['addon', null, InputOption::VALUE_OPTIONAL, 'The addon to migrate.'], ['no-addons', null, InputOption::VALUE_NONE, 'Don\'t run addon migrations, only laravel migrations.']]);
 }
 /**
  * Get the options.
  *
  * @return array
  */
 protected function getOptions()
 {
     return array_merge(parent::getOptions(), [['addon', null, InputOption::VALUE_OPTIONAL, 'The addon to migrate.'], ['streams', null, InputOption::VALUE_NONE, 'Flag all streams core/application for migration.'], ['all-addons', null, InputOption::VALUE_NONE, 'Flag all addons for migration.']]);
 }