Custom Fresh
Custom Fresh allows fine-grain control of migrations inside your Laravel project. You can choose which tables will not be dropped during refreshing the database.
Installation
You can install the package via composer:
composer require ramadan/custom-fresh
Usage
After installing the package, you will now see a new fresh:custom
command.
Refreshing migrations
You can exclude specific tables during refreshing the database inside your project using:
php artisan fresh:custom users invalid_table_name
Example
Credits
Support me
License
The MIT License (MIT).