michielfb / data-migrations
Laravel Data Migrations
Installs: 52 522
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 1
Forks: 7
Open Issues: 0
pkg:composer/michielfb/data-migrations
Requires
- php: ^7.4 || ^8.0 || ^8.1
 - illuminate/console: ^8.0 || ^9.0 || ^10.0
 - illuminate/database: ^8.0 || ^9.0 || ^10.0
 - illuminate/support: ^8.0 || ^9.0 || ^10.0
 
README
This package allows to migrate data the same way as regular database structure migrations.
Installation
composer require michielfb/data-migrations php artisan vendor:publish --tag=data-migrations php artisan migrate
Usage
The following artisan commands are available.
make:data-migration creates a new data migration.
migrate:data runs the data migration
migrate:rollback-data rolls back the migration.