SYNC: multi-sql

This commit is contained in:
SPRINX0\prochazka
2025-02-24 12:20:30 +01:00
committed by Diflow
parent 8bdd24aa1e
commit bdd9dc8c9d
27 changed files with 526 additions and 11 deletions

View File

@@ -233,8 +233,18 @@ export const driverBase = {
return defaultCreator(changeSet, dbinfo);
},
adaptDataType(dataType: string) {
return dataType;
},
adaptTableInfo(table) {
return table;
return {
...table,
columns: table.columns?.map(col => ({
...col,
dataType: this.adaptDataType(col.dataType),
})),
};
},
async listSchemas(pool) {