Skip to content

Various Tips

Where relation

Squash migrations

Rather than having all your basic migrations, you can use php artisan schema:dump. This will generate a schema dump that will be used next time you run php artisan migrate:fresh.