Commit f3fe7e75 authored by Sophie Herold's avatar Sophie Herold 🌼

Fixes missing typemods in column inquiery

parent 1a292d63
......@@ -127,7 +127,7 @@ deployedColumns tbl = map toColumn <$> psqlQry qry (Only $ toSqlCode tbl)
[sql|
SELECT
attname,
atttypid::regtype::text,
pg_catalog.format_type(atttypid, atttypmod),
def.adsrc,
NOT attnotnull,
pg_catalog.col_description(attrelid, attnum)
......
......@@ -5,6 +5,12 @@ columns:
- name: X3
type: integer
description: Column X3
- name: ts
type: timestamp(2) with time zone
description: Timestamp
- name: txt
type: character varying(15)
description: limited varchar
- name: x1
type: integer
description: Column x1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment