/**
  * Get the console command options.
  *
  * @return array
  */
 protected function getOptions()
 {
     return array_merge(parent::getOptions(), [['migration', null, InputOption::VALUE_OPTIONAL, 'Optional migration name', null], ['schema', 's', InputOption::VALUE_OPTIONAL, 'Optional schema to be attached to the migration', null]]);
 }
 /**
  * Get the console command options.
  *
  * @return array
  */
 protected function getOptions()
 {
     return array_merge([['model', 'm', InputOption::VALUE_OPTIONAL, 'Want a model for this table?', true], ['schema', 's', InputOption::VALUE_OPTIONAL, 'Optional schema to be attached to the migration', null]], parent::getOptions());
 }
示例#3
0
 /**
  * Get the console command options.
  *
  * @return array
  */
 protected function getOptions()
 {
     return array_merge([['type', null, InputOption::VALUE_OPTIONAL, 'The type of file: model, view, controller, migration, seed', 'view']], parent::getOptions());
 }
示例#4
0
 /**
  * Get the console command options.
  *
  * @return array
  */
 protected function getOptions()
 {
     return array_merge([['migration', 'm', InputOption::VALUE_NONE, 'Create a new migration file as well.'], ['schema', 's', InputOption::VALUE_OPTIONAL, 'Optional schema to be attached to the migration', null]], parent::getOptions());
 }