I do not know what the differences are between the parameters php artisan make:migration --tableand php artisan make:migration --create?! I was completely confused :(Are there any differences?When should I use the option --tableor --create?laravelSays that:
php artisan make:migration --table
php artisan make:migration --create
--table
--create
laravel
Parameters --tableand --createcan also be used to indicate the name of the table and whether the migration will create a new table.
, . Schema::create (--create) . > , Schema::table (--table).
Schema::create
Schema::table
- ; - ;
, ... ...