database
Drop all tables from the database.
php artisan php artisan db:wipe
Syntax
Syntax
php artisan db:wipe [--database=connection]
Explanation
Drops all tables in the database. Used internally by migrate:fresh. Useful when you want to manually drop and recreate tables. Use with caution — this destroys all data.
Example
Example
php artisan db:wipe
Explanation
Drops all tables in the database. Used internally by migrate:fresh. Useful when you want to manually drop and recreate tables. Use with caution — this destroys all data.