petrgrishin / yiimigrate
Migrate сommand supporting modules for Yii 1.1
Installs: 4 422
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 6
Forks: 1
Open Issues: 0
Requires
- php: >=5.3.0
Requires (Dev)
- yiisoft/yii: dev-master
This package is not auto-updated.
Last update: 2024-11-01 22:42:56 UTC
README
Migrate Command supporting modules for Yii 1.1
Current version
0.6
Install
composer.json:
{ "require": { "petrgrishin/yiimigrate": "0.6" } }
config:
<?php return array( 'commandMap' => array( 'migrate' => array( 'class' => \Command\MigrateCommand::className(), ), ), );
Usage
Applies ALL new migrations including migrate all registered application modules:
php yiic migrate up
Applies new migrations only for the selected module:
php yiic migrate up --module=moduleNameFromConfiguration
Creates a new migration for the selected module:
php yiic migrate create migrateName --module=moduleNameFromConfiguration
Applies ALL new migrations and minimize output:
php yiic migrate up --silent=1