Artisan.page The Laravel Artisan cheatsheet
migrate:fresh
Drop all tables and re-run all migrations
Terminal
Options
databaseOptional
The database connection to use
drop-typesOptional
Drop all tables and types (Postgres only)
drop-viewsOptional
Drop all tables and views
forceOptional
Force the operation to run when in production
pathOptional
The path(s) to the migrations files to be executed
realpathOptional
Indicate any provided migration file paths are pre-resolved absolute paths
schema-pathOptional
The path to a schema dump file
seedOptional
Indicates if the seed task should be re-run
seederOptional
The class name of the root seeder
stepOptional
Force the migrations to be run so they can be rolled back individually