Artisan.page

db:wipe

Drop all tables, views, and types

Terminal
php artisan db:wipe [--database [DATABASE]] [--drop-views] [--drop-types] [--force]

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