/custom-fresh

A Laravel package to specify the tables that you do not want to drop while refreshing the database.

Primary LanguagePHP

Custom Fresh

Custom Fresh

License Latest Version on Packagist Total Downloads


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.

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 while refreshing the database inside your project using:

php artisan fresh:custom posts,invalid_table_name

Example

cmd

Credits

Support me

License

The MIT License (MIT).