Skip to content

uzproger/yii2-migrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Yii2 Database migration extension

It helps to migrate with multiple directories.

Installation

add to the require section of your composer.json:

"uzproger/migrator": "*",

add to the console.php:

  ...
  'controllerMap' => [
    'migrate' => [
      'class' => 'uzproger\migrator\MigrateController',
      'additionalPaths' => [
        [
          'name' => 'First Migration Path Name',
          'path' => 'First Migration Full Path',
        ],
        [
          'name' => 'Second Migration Path Name',
          'path' => 'Second Migration Full Path',
        ],
        ...
      ],
    ],
    ...
  ],  

About

Yii2 Database migration extension

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages