Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/petrgrishin/yiimigrate

Migrate сommand supporting modules for Yii 1.1
https://github.com/petrgrishin/yiimigrate

Last synced: 2 months ago
JSON representation

Migrate сommand supporting modules for Yii 1.1

Awesome Lists containing this project

README

        

yiimigrate
==========

Migrate Command supporting modules for Yii 1.1

Current version
---------------
0.6

Install
-------

composer.json:
```json
{
"require": {
"petrgrishin/yiimigrate": "0.6"
}
}
```

config:
```php
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
```