Laravel 13 · Models and database

Rebuild a development database

Drop all tables and run every migration again.

php artisan migrate:fresh

Caution: Destructive: this drops all tables and their data. Never use on a database containing data you need.

Official Laravel 13 documentation

More models and database commands

All models and database commands · Laravel 13 cheatsheet

Was this page helpful?