We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85e995d commit 6b19083Copy full SHA for 6b19083
models/BaseMigrationCommand.cfc
@@ -5,10 +5,13 @@ component {
5
property name="JSONService" inject="JSONService";
6
7
function onDIComplete() {
8
+ // This is neccessary so changes get picked up right away
9
+ pagePoolClear();
10
+
11
var cfmigrationsInfo = getCFMigrationsInfo();
12
var appSettings = getApplicationSettings();
13
var dsources = appSettings.datasources ?: {};
- dsources[ 'cfmigrations' ] = cfmigrationsInfo.connectionInfo;
14
+ dsources[ "cfmigrations" ] = cfmigrationsInfo.connectionInfo;
15
application action='update' datasources=dsources;
16
application action='update' datasource='cfmigrations';
17
migrationService.setDefaultGrammar( cfmigrationsInfo.defaultGrammar );
0 commit comments