The Laravel Artisan Cheatsheet
A searchable, bookmarkable cheatsheet for
Laravel's
Artisan commands.
Home
ArtisanGPT
API
Laravel Version
8.x
schema:dump
🖥
schema:dump
Dump the given database schema
Options
database
- The database connection to use
Optional
path
- The path where the schema dump file should be stored
Optional
prune
- Delete all existing migration files
Optional
php artisan schema:dump [--database [DATABASE]] [--path [PATH]] [--prune]
Click to copy