代码生成器会查询到已删除的无用字段
This commit is contained in:
parent
84aa3b5d4f
commit
6de980966d
@ -35,6 +35,7 @@ FROM pg_attribute a
|
||||
WHERE (c.relkind = ANY (ARRAY['r'::"char", 'p'::"char"]))
|
||||
AND a.attnum > 0
|
||||
AND n.nspname = 'public'::name
|
||||
AND not a.attisdropped
|
||||
ORDER BY c.relname, a.attnum;
|
||||
|
||||
create view list_table as
|
||||
|
||||
Loading…
Reference in New Issue
Block a user