/** * 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()); }
/** * 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()); }
/** * 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()); }