fix(all): TRUE multicloud.
This commit is contained in:
parent
829cacdf35
commit
49f0f98cac
1 changed files with 3 additions and 2 deletions
|
@ -395,8 +395,9 @@ export class GBVMService extends GBService {
|
|||
|
||||
// New table checking, if needs sync.
|
||||
let tables;
|
||||
const dialect = con.dialect.name;
|
||||
|
||||
if (con.storageDriver === 'mssql') {
|
||||
if (dialect === 'mssql') {
|
||||
tables = await seq.query(
|
||||
`SELECT table_name, table_schema
|
||||
FROM information_schema.tables
|
||||
|
@ -406,7 +407,7 @@ export class GBVMService extends GBService {
|
|||
type: QueryTypes.RAW
|
||||
}
|
||||
)[0];
|
||||
} else if (con.storageDriver === 'mariadb') {
|
||||
} else if (dialect === 'mariadb') {
|
||||
tables = await seq.getQueryInterface().showAllTables();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue