yiimigrate Simple migrate сommand supporting modules

yiimigrate

Migrate сommand supporting modules for Yii 1.1

Install

composer.json: ~~~ [javascript] { "require": {

"petrgrishin/yiimigrate": "dev-master"

} } ~~~

config:

<?php
return array(
  'commandMap' => array(
    'migrate' => array(
      'class' => \Command\MigrateCommand::className(),
    ),
  ),
);
Usage

Applies ALL new migrations including migrate all registred application modules: ~~~ php yiic migrate up ~~~

Applies new migrations only for the selected module: ~~~ php yiic migrate up --module=moduleNameInConfiguration ~~~

Creates a new migration for the selected module: ~~~ php yiic migrate create migrateName --module=moduleNameInConfiguration ~~~

Resources

Project on github.com

4 0
6 followers
842 downloads
Yii Version: Unknown
License: MIT
Category: Console
Developed by: Petr.Grishin
Created on: Sep 25, 2013
Last updated: 11 years ago

Downloads

show all

Related Extensions