v4 brings a new configuration structure and file. This pairs with new features in CFMigrations to allow for multiple named migration managers and new seeding capabilities. Migrations will still run in v4 using the old configuration structure and location, but it is highly recommended you upgrade.
Copy {
"default" : {
"manager" : "cfmigrations.models.QBMigrationManager" ,
"migrationsDirectory" : "resources/database/migrations/" ,
"seedsDirectory" : "resources/database/seeds/" ,
"properties" : {
"defaultGrammar" : "AutoDiscover@qb" ,
"schema" : "${DB_SCHEMA}" ,
"migrationsTable" : "cfmigrations" ,
"connectionInfo" : {
"password" : "${DB_PASSWORD}" ,
"connectionString" : "${DB_CONNECTIONSTRING}" ,
"class" : "${DB_CLASS}" ,
"username" : "${DB_USER}" ,
"bundleName" : "${DB_BUNDLENAME}" ,
"bundleVersion" : "${DB_BUNDLEVERSION}"
}
}
}
}
Copy {
"default" : {
"manager" : "cfmigrations.models.QBMigrationManager" ,
"migrationsDirectory" : "resources/database/migrations/" ,
"seedsDirectory" : "resources/database/seeds/" ,
"properties" : {
"defaultGrammar" : "AutoDiscover@qb" ,
"schema" : "${DB_SCHEMA}" ,
"migrationsTable" : "cfmigrations" ,
"connectionInfo" : {
"password" : "${DB_PASSWORD}" ,
"connectionString" : "${DB_CONNECTIONSTRING}" ,
"class" : "${DB_CLASS}" ,
"username" : "${DB_USER}" ,
"bundleName" : "${DB_BUNDLENAME}" ,
"bundleVersion" : "${DB_BUNDLEVERSION}"
}
}
} ,
"alternate" : {
"manager" : "cfmigrations.models.QBMigrationManager" ,
"migrationsDirectory" : "resources/database/other-migrations/" ,
"seedsDirectory" : "resources/database/other-seeds/" ,
"properties" : {
"defaultGrammar" : "AutoDiscover@qb" ,
"schema" : "${DB_SCHEMA}" ,
"migrationsTable" : "cfmigrations2" ,
"connectionInfo" : {
"password" : "${DB_PASSWORD}" ,
"connectionString" : "${DB_CONNECTIONSTRING}" ,
"class" : "${DB_CLASS}" ,
"username" : "${DB_USER}" ,
"bundleName" : "${DB_BUNDLENAME}" ,
"bundleVersion" : "${DB_BUNDLEVERSION}"
}
}
}
}