develme / database-patch
A patch system designed similar to Laravel's database migration tools. Instead of being used to manage schema, the patch system is used to fill that grey area between a database seeder and a database migration. The intentions of the system is to patch/adjust existing data, but this could be a replac
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/develme/database-patch
Requires
- php: ^7.1.3
 - laravel/framework: 5.8.*
 
This package is auto-updated.
Last update: 2025-10-27 10:07:57 UTC
README
Setup patch directory and table
    php artisan patch:install
Check patch status
    php artisan patch:status
Create patch to insert data into new table
    php artisan make:patch --insert="example_table"
Create patch to update existing table
    php artisan make:patch --table="example_table"
Run patches
    php artisan patch
Undo all patches
    php artisan patch:reset
Undo then rerun all patches
    php artisan patch:refresh