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