uzproger/yii2-migrator

Yii2 Database migration extension which helps to migrate with multiple directories.

Installs: 12

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

pkg:composer/uzproger/yii2-migrator

1.0.1 2015-05-24 15:27 UTC

This package is not auto-updated.

Last update: 2025-12-24 14:43:12 UTC


README

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',
        ],
        ...
      ],
    ],
    ...
  ],