2017 © Pedro Peláez
 

yii2-extension migrate

Helpful tools for yii2 migrations

image

flexibuild/migrate

Helpful tools for yii2 migrations

  • Wednesday, July 20, 2016
  • by SeynovAM
  • Repository
  • 1 Watchers
  • 0 Stars
  • 353 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 1 % Grown

The README.md

Yii2 migrate extension

Helpful tools for yii2 migrations., (*1)

With this extenension you can:, (*2)

  • forget about wrapping table names like {{%table_name}}, extension will do it automatically.
  • create indexes and foreign keys without inventing them names.
  • create table without passing character set and collate. The extension will do it by default for MySQL databases.
  • simply create migrations that create tables with exntending from flexibuild\migrate\db\CreateTableMigration.
  • and other small features.

Installation

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

Either run, (*4)

php composer.phar require --prefer-dist flexibuild/migrate "*"

or add, (*5)

"flexibuild/migrate": "*"

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

Usage

Once the extension is installed, simply use it in your code by configuring your console application:, (*7)

return [
    ...
    'controllerMap' => [
        ...
        'migrate' => [
            'class' => 'flexibuild\migrate\controllers\MigrateController',
        ],
    ],
    ...
];

If you do not want to use migrate command from this extension you may be want simply to extend you migration class from one of:, (*8)

  • flexibuild\migrate\db\Migration
  • flexibuild\migrate\db\CreateTableMigration

The Versions

20/07 2016

dev-master

9999999-dev

Helpful tools for yii2 migrations

  Sources   Download

MIT

The Requires

 

by Avatar SeynovAM

extension yii2 migration migrate

20/07 2016

0.4.0

0.4.0.0

Helpful tools for yii2 migrations

  Sources   Download

MIT

The Requires

 

by Avatar SeynovAM

extension yii2 migration migrate

29/04 2016

0.3.1

0.3.1.0

Helpful tools for yii2 migrations

  Sources   Download

MIT

The Requires

 

by Avatar SeynovAM

extension yii2 migration migrate

29/04 2016

0.3.0

0.3.0.0

Helpful tools for yii2 migrations

  Sources   Download

MIT

The Requires

 

by Avatar SeynovAM

extension yii2 migration migrate

09/04 2016

0.2.0

0.2.0.0

Helpful tools for yii2 migrations

  Sources   Download

MIT

The Requires

 

by Avatar SeynovAM

extension yii2 migration migrate

04/03 2015

0.1.0

0.1.0.0

Helpful tools for yii2 migrations

  Sources   Download

MIT

The Requires

 

by Avatar SeynovAM

extension yii2 migration migrate