mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 13:46:00 +00:00
fixed import for clickhouse
This commit is contained in:
@@ -189,6 +189,16 @@ const driver = {
|
||||
useDatabaseUrl: 1,
|
||||
};
|
||||
},
|
||||
|
||||
adaptTableInfo(table) {
|
||||
if (!table.primaryKey && !table.sortingKey) {
|
||||
return {
|
||||
...table,
|
||||
tableEngine: 'Log',
|
||||
};
|
||||
}
|
||||
return table;
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = driver;
|
||||
|
||||
Reference in New Issue
Block a user