Create a new migration file


  • create - The table to be created Optional
  • fullpath - Output the full path of the migration 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
  • table - The table to migrate Optional


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