infuse/migrations

Migrations module for Infuse Framework

1.2 2017-08-04 13:48 UTC

This package is auto-updated.

Last update: 2024-12-20 14:04:01 UTC


README

Build Status Coverage Status Latest Stable Version Total Downloads

Database migrations module for Infuse Framework. Built on Phinx.

Installation

  1. Install the package with composer:

     composer require infuse/migrations
    
  2. Add the console command to console.commands in your app's configuration:

    'console' => [
    	// ...
    	'commands' => [
    		// ...
    		'Infuse\Migrations\Console\MigrateCommand'
    	]
    ]
  3. Add your migrations to modules.migrations in your app's configuration:

    'modules' => [
    	// ..
    	'migrations' => [
    		'auth',
    		'users',
    		// ...
    	]
    ]