Database migrations module for Infuse Framework. Built on Phinx.
-
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', // ... ] ]