Via Composer
"require": {
"fbn-db-migrations": "dev-master"
},
Run DB_USERNAME=<user> DB_PASSWORD=<password> DB_NAME=<testdb_name> DB_HOST=localhost ant migrations
Run DB_USERNAME=<user> DB_PASSWORD=<password> DB_NAME=<testdb_name> DB_HOST=localhost ant update-migrations
Run composer install
Run DB_USERNAME=<user> DB_PASSWORD=<password> DB_NAME=<testdb_name> DB_HOST=localhost ant migrations
Run ./yii migrate/create <migration_name>