2017 © Pedro Peláez
 

library module-migrations

Gui migrations for yii 2 gridview

image

webvimark/module-migrations

Gui migrations for yii 2 gridview

  • Tuesday, August 11, 2015
  • by webvimark
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2,962 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 9 % Grown

The README.md

Migrations module for Yii 2

Provide: * modules support * fix original migrations permission issue * GUI interface, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist webvimark/module-migrations "*"

or add, (*4)

"webvimark/module-migrations": "*"

to the require section of your composer.json file., (*5)

Configuration

In your config/web.php, (*6)

    'modules'=>[
        ...

        'migrations'=>[
            'class'=>'webvimark\modules\migrations\MigrationModule',
            'executableYii' => (YII_ENV == 'prod') ? '@app/yii_production' : '@app/yii',
            // 'layout'=>'//back',

            // If you want to be able to run migrations from specific url:
            // http://site.com/migrations/web-execute/index?key=THIS_KEY

            // 'webExecuteEnabled'=>true,
            // 'webExecuteKey'=>'bla-bla-key',
        ],

        ...
    ],

In you config/console.php, (*7)

    ...

    'controllerMap'=>[
        'migrate'=>[
            'class'=>'webvimark\modules\migrations\components\MigrateController',
        ],
    ],

    ...

Include your desired modules in config/console.php, (*8)

Usage

Go to http://site.com/migrations/default/index, (*9)

The Versions

11/08 2015

dev-master

9999999-dev

Gui migrations for yii 2 gridview

  Sources   Download

11/08 2015

1.0.0

1.0.0.0

Gui migrations for yii 2 gridview

  Sources   Download