Database migrations module for Infuse Framework. Built on Phinx.
-
Install the package with composer:
composer require infuse/migrations -
Add the console command to
console.commandsin your app's configuration:'console' => [ // ... 'commands' => [ // ... 'Infuse\Migrations\Console\MigrateCommand' ] ]
-
Add your migrations to
modules.migrationsin your app's configuration:'modules' => [ // .. 'migrations' => [ 'auth', 'users', // ... ] ]