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] [--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 
            --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 this help message 
-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 ANSI output 
            --no-ansi          Disable ANSI output 
-n,         --no-interaction   Do not ask any interactive question 
            --env              The environment the command should run under