mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-27 17:16:01 +00:00
Update columns.js
This commit is contained in:
@@ -4,10 +4,10 @@ select
|
|||||||
table_name as "pure_name",
|
table_name as "pure_name",
|
||||||
column_name as "column_name",
|
column_name as "column_name",
|
||||||
is_nullable as "is_nullable",
|
is_nullable as "is_nullable",
|
||||||
case
|
case
|
||||||
when (data_type = 'USER-DEFINED' OR data_type = 'ARRAY') then udt_name::regtype::text
|
when (data_type = 'USER-DEFINED' OR data_type = 'ARRAY') then udt_name::regtype::text
|
||||||
else data_type
|
else data_type
|
||||||
end
|
end
|
||||||
as "data_type",
|
as "data_type",
|
||||||
character_maximum_length as "char_max_length",
|
character_maximum_length as "char_max_length",
|
||||||
numeric_precision as "numeric_precision",
|
numeric_precision as "numeric_precision",
|
||||||
@@ -24,4 +24,4 @@ where
|
|||||||
('views:' || table_schema || '.' || table_name) =OBJECT_ID_CONDITION
|
('views:' || table_schema || '.' || table_name) =OBJECT_ID_CONDITION
|
||||||
)
|
)
|
||||||
order by ordinal_position
|
order by ordinal_position
|
||||||
`;
|
`;
|
||||||
|
|||||||
Reference in New Issue
Block a user