php artisan migrate:fresh
DatabaseDrop all tables and re-run all migrations
Options & Flags
Available options for this command
--seedSeed the database after migrating
Examples
Common usage examples
Fresh migration (drops all tables)
php artisan migrate:freshFresh migration with seeding
php artisan migrate:fresh --seedNotes
- WARNING: Drops ALL tables, including non-migration tables
- Use in development only
Related Commands
You might also find these useful