|
|
@ -696,7 +696,7 @@ export default class NcProjectBuilder { |
|
|
|
for (const connectionConfig of dbs) { |
|
|
|
for (const connectionConfig of dbs) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
const sqlClient = NcConnectionMgr.getSqlClient({ |
|
|
|
const sqlClient = NcConnectionMgr.getSqlClient({ |
|
|
|
dbAlias: connectionConfig?.mets?.dbAlias, |
|
|
|
dbAlias: connectionConfig?.meta?.dbAlias, |
|
|
|
env: this.config.env, |
|
|
|
env: this.config.env, |
|
|
|
config: this.config, |
|
|
|
config: this.config, |
|
|
|
projectId: this.id |
|
|
|
projectId: this.id |
|
|
@ -892,7 +892,7 @@ export default class NcProjectBuilder { |
|
|
|
|
|
|
|
|
|
|
|
for (const connectionConfig of dbs) { |
|
|
|
for (const connectionConfig of dbs) { |
|
|
|
NcConnectionMgr.delete({ |
|
|
|
NcConnectionMgr.delete({ |
|
|
|
dbAlias: connectionConfig?.mets?.dbAlias, |
|
|
|
dbAlias: connectionConfig?.meta?.dbAlias, |
|
|
|
env: this.config.env, |
|
|
|
env: this.config.env, |
|
|
|
projectId: this.id |
|
|
|
projectId: this.id |
|
|
|
}); |
|
|
|
}); |
|
|
|