make:migration

Create a new migration file

Options

  • create - The table to be created Optional
  • table - The table to migrate Optional
  • path - The location where the migration file should be created Optional
  • realpath - Indicate any provided migration file paths are pre-resolved absolute paths Optional
  • fullpath - Output the full path of the migration (Deprecated) Optional

Arguments

  • name - The name of the migration Required
php artisan make:migration [--create [CREATE]] [--table [TABLE]] [--path [PATH]] [--realpath] [--fullpath] [--] <name>