Configuration
The module is configured by default with a single migration service that interact with your database, optionally using qb. Multiple migration services with different managers may also be configured. The default manager for the cfmigrations is QBMigrationManager
, but you may use others, such as those included with the cbmongodb
and cbelasticsearch
modules or roll your own.
The default configuration for the module settings are:
With this configuration, the default
migration manager may be retrieved via WireBox at migrationService:default
.
Here is an example of a multi-manager migrations system. Each separate manager will require their own configuration properties.
With this configuration the individual migration managers would be retreived as such:
db1
- getInstance( "migrationService:db1" )db2
- getInstance( "migrationService:db2" )elasticsearch
- getInstance( "migrationService:elasticsearch" )
Last updated
Was this helpful?