michielfb / data-migrations
Laravel Data Migrations
Installs: 45 658
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 2
Forks: 6
Open Issues: 0
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.