infuse / migrations
Migrations module for Infuse Framework
1.2
2017-08-04 13:48 UTC
Requires
- php: >=5.6.0
- robmorgan/phinx: ~0.8
Requires (Dev)
- infuse/infuse: ~1.4
- phpunit/phpunit: 5.7.*
This package is auto-updated.
Last update: 2024-10-20 13:39:16 UTC
README
Database migrations module for Infuse Framework. Built on Phinx.
Installation
-
Install the package with composer:
composer require infuse/migrations
-
Add the console command to
console.commands
in your app's configuration:'console' => [ // ... 'commands' => [ // ... 'Infuse\Migrations\Console\MigrateCommand' ] ]
-
Add your migrations to
modules.migrations
in your app's configuration:'modules' => [ // .. 'migrations' => [ 'auth', 'users', // ... ] ]