Downloads
Stars
Version
This package offer you a command that help you reset your database in few steps : dropping, creating, importing (optional), migrating, seeding (optional).
You can install the package via composer:
composer require suavy/database-reset-command-for-laravel
php artisan db:reset
Launch with no warning and no production protection
php artisan db:reset --force
Import db.sql file located at root of your project (be sure to not commit this file, add it to your .gitignore)
php artisan db:reset --import
Launch seed at the end
php artisan db:reset --seed
Contributions are welcome and will be fully credited.
If you discover any security related issues, please email us instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
This package was generated using the Laravel Package Boilerplate.