A Laravel package to specify the tables that you do not want to drop while refreshing the database.
Custom Fresh allows fine-grain control of migrations inside your Laravel project, where you can choose which tables will not be dropped while refreshing the database.
Install the package by using Composer:
composer require ramadan/custom-fresh
After installing the package, you will see a new fresh:custom
command.
You can exclude specific tables while refreshing the database inside your project:
php artisan fresh:custom posts,foo,bar
The MIT License (MIT).