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 41ffc84 commit 34c4dfaCopy full SHA for 34c4dfa
lib/sailsDbMigrate.js
@@ -82,7 +82,7 @@ function parseSailsConfig(sailsConfig) {
82
throw new Error('connection missing from ./config/migrations.js');
83
}
84
85
- connection = sailsConfig.connections[connectionName];
+ connection = sailsConfig.datastores[connectionName];
86
87
if (!connection) {
88
throw new Error('could not find connection ' + connectionName + ' in ./config/connections.js');
0 commit comments