diff --git a/generator/postgres/query_set.go b/generator/postgres/query_set.go index 329741a..abb21ba 100644 --- a/generator/postgres/query_set.go +++ b/generator/postgres/query_set.go @@ -67,7 +67,7 @@ select attr.atthasdef as "column.hasDefault", (case when tp.typtype = 'b' AND tp.typcategory <> 'A' then 'base' - when tp.typtype = 'b' AND tp.typcategory = 'A' then 'array' + when tp.typtype = 'b' AND tp.typcategory = 'A' then 'array' when tp.typtype = 'd' then 'base' when tp.typtype = 'e' then 'enum' when tp.typtype = 'r' then 'range'