php artisan migrate:fresh
Drop all tables and re-run all migrations
Usage
migrate:fresh [--database [DATABASE]] [--drop-views] [--drop-types] [--force] [--path [PATH]] [--realpath] [--schema-path [SCHEMA-PATH]] [--seed] [--seeder [SEEDER]] [--step]
Options
--database The database connection to use
--drop-views Drop all tables and views
--drop-types Drop all tables and types (Postgres only)
--force Force the operation to run when in production
--path The path(s) to the migrations files to be executed
--realpath Indicate any provided migration file paths are pre-resolved absolute paths
--schema-path The path to a schema dump file
--seed Indicates if the seed task should be re-run
--seeder The class name of the root seeder
--step Force the migrations to be run so they can be rolled back individually
-h, --help Display help for the given command. When no command is given display help for the <info>list</info> command
-q, --quiet Do not output any message
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
-V, --version Display this application version
--ansi Force (or disable --no-ansi) ANSI output
-n, --no-interaction Do not ask any interactive question
--env The environment the command should run under