Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/petrgrishin/yiimigrate
- Owner: petrgrishin
- License: mit
- Created: 2013-09-25T18:56:10.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-10-20T14:12:08.000Z (about 8 years ago)
- Last Synced: 2024-08-17T18:24:45.669Z (5 months ago)
- Language: PHP
- Size: 10.7 KB
- Stars: 2
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
yiimigrate
==========Migrate Command supporting modules for Yii 1.1
Current version
---------------
0.6Install
-------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
```