mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 21:16:00 +00:00
SYNC: multi-sql
This commit is contained in:
committed by
Diflow
parent
8bdd24aa1e
commit
bdd9dc8c9d
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user