develme/database-patch
Composer 安装命令:
composer require 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
README 文档
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
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-05-30