mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 16:06:01 +00:00
fixed clickhouse default value handling
This commit is contained in:
@@ -45,6 +45,7 @@ class Analyser extends DatabaseAnalyser {
|
||||
.filter((col) => col.pureName == table.pureName)
|
||||
.map((col) => ({
|
||||
...col,
|
||||
defaultValue: col.defaultValue ? col.defaultValue : undefined,
|
||||
...extractDataType(col.dataType),
|
||||
})),
|
||||
primaryKey: table.primaryKeyColumns
|
||||
|
||||
Reference in New Issue
Block a user