mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 13:46:00 +00:00
default value test + fixed clickhouse default support
This commit is contained in:
@@ -4,7 +4,8 @@ select
|
||||
tables.uuid as "objectId",
|
||||
columns.name as "columnName",
|
||||
columns.type as "dataType",
|
||||
columns.comment as "columnComment"
|
||||
columns.comment as "columnComment",
|
||||
columns.default_expression as "defaultValue"
|
||||
from system.columns
|
||||
inner join system.tables on columns.table = tables.name and columns.database = tables.database
|
||||
where columns.database='#DATABASE#' and tables.uuid =OBJECT_ID_CONDITION
|
||||
|
||||
Reference in New Issue
Block a user