2017 © Pedro Peláez
 

yii2-extension yii2-reverse-migration

Generate working migration classes from existing Database

image

tmukherjee13/yii2-reverse-migration

Generate working migration classes from existing Database

  • Sunday, June 24, 2018
  • by tmukherjee13
  • Repository
  • 3 Watchers
  • 12 Stars
  • 2,759 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 2 Open issues
  • 15 Versions
  • 15 % Grown

The README.md

Yii2 Reverse Migration

Latest Stable Version License Total Downloads Monthly Downloads Daily Downloads Scrutinizer Build Scrutinizer Code Quality, (*1)

Generate working migration classes from existing Database, (*2)

Installation

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

Either run, (*4)

php composer.phar require --prefer-dist tmukherjee13/yii2-reverse-migration "*"

or add, (*5)

"tmukherjee13/yii2-reverse-migration": "*"

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

Usage

Once the extension is installed, Add the following in console.php:, (*7)

return [
    ...
    'components' => [
        ...
    ],
    'controllerMap' => [
        'migration' => [
            'class' => 'tmukherjee13\migration\console\controllers\MigrationController',
            'templateFile' => '@tmukherjee13/migration/views/template.php',
        ],
    ],
    ...
];

then you can use the migration command as follows:, (*8)

for table migration,, (*9)

yii migration/table <tablename>

or, (*10)

yii migration/table <tablename1>,<tablename2>

for data migration,, (*11)

yii migration/data <tablename>

or, (*12)

yii migration/data <tablename1>,<tablename2>

to create migration of whole schema,, (*13)

yii migration/schema <schemaname>

yii2-reverse-migration

The Versions

24/06 2018

dev-master

9999999-dev

Generate working migration classes from existing Database

  Sources   Download

BSD-3-Clause

The Requires

 

by Tarun Mukherjee

database yii2 migration

24/06 2018

v2.3.2

2.3.2.0

Generate working migration classes from existing Database

  Sources   Download

BSD-3-Clause

The Requires

 

by Tarun Mukherjee

database yii2 migration

12/10 2016

dev-develop

dev-develop

Generate working migration classes from existing Database

  Sources   Download

BSD-3-Clause

by Tarun Mukherjee

database yii2 migration

05/10 2016

v2.3.1

2.3.1.0

Generate working migration classes from existing Database

  Sources   Download

BSD-3-Clause

The Requires

 

by Tarun Mukherjee

database yii2 migration

05/10 2016

v2.3.0

2.3.0.0

Generate working migration classes from existing Database

  Sources   Download

BSD-3-Clause

The Requires

 

by Tarun Mukherjee

database yii2 migration

26/09 2016

v2.2.2

2.2.2.0

Generate working migration classes from existing Database

  Sources   Download

MIT

The Requires

 

by Tarun Mukherjee

database yii2 migration

17/08 2016

dev-1x

dev-1x

Generate working migration classes from existing Database

  Sources   Download

BSD-3-Clause

The Requires

 

by Tarun Mukherjee

database yii2 migration

12/08 2016

v2.2.1

2.2.1.0

Generate working migration classes from existing Database

  Sources   Download

MIT

The Requires

 

by Tarun Mukherjee

database yii2 migration

08/08 2016

v2.2

2.2.0.0

Generate working migration classes from existing Database

  Sources   Download

MIT

The Requires

 

by Tarun Mukherjee

database yii2 migration

08/08 2016

v2.1

2.1.0.0

Generate working migration classes from existing Database

  Sources   Download

MIT

The Requires

 

by Tarun Mukherjee

database yii2 migration

08/08 2016

v2.0

2.0.0.0

Generate working migration classes from existing Database

  Sources   Download

MIT

The Requires

 

by Tarun Mukherjee

database yii2 migration

07/08 2016

v1.2

1.2.0.0

Generate working migration classes from existing Database

  Sources   Download

MIT

The Requires

 

by Tarun Mukherjee

database yii2 migration

06/08 2016

v1.1

1.1.0.0

Generate working migration classes from existing Database

  Sources   Download

MIT

The Requires

 

by Tarun Mukherjee

database yii2 migration

24/01 2016

v1.0

1.0.0.0

Generate working migration classes from existing Database

  Sources   Download

MIT

The Requires

 

by Tarun Mukherjee

database yii2 migration

23/01 2016

v0.1

0.1.0.0

Generate working migration classes from existing Database

  Sources   Download

MIT

The Requires

 

by Tarun Mukherjee

database yii2 migration