suavy / database-reset-command-for-laravel
This package is abandoned and no longer maintained.
No replacement package was suggested.
1.2.0
2020-11-06 14:30 UTC
Requires
- php: ^7.1
- illuminate/support: ^8.0
Requires (Dev)
- orchestra/testbench: ^4.0
- phpunit/phpunit: ^8.0
README
This package offer you a command that help you reset your database in few steps : dropping, creating, importing (optional), migrating, seeding (optional).
Installation
You can install the package via composer:
composer require suavy/database-reset-command-for-laravel
Usage
php artisan db:reset
Options
--force
Launch with no warning and no production protection
php artisan db:reset --force
--import
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
--seed
Launch seed at the end
php artisan db:reset --seed
Contributing
Contributions are welcome and will be fully credited.
Security
If you discover any security related issues, please email us instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.