You've already forked crud_generator
mirror of
https://github.com/ManyakRus/crud_generator.git
synced 2025-07-16 02:54:19 +02:00
сделал refactoring
This commit is contained in:
@ -136,14 +136,13 @@ SELECT
|
|||||||
as is_primary_key
|
as is_primary_key
|
||||||
|
|
||||||
FROM
|
FROM
|
||||||
pg_catalog.pg_statio_all_tables as st
|
|
||||||
|
|
||||||
right join
|
|
||||||
information_schema.columns c
|
information_schema.columns c
|
||||||
on
|
|
||||||
|
|
||||||
c.table_schema = st.schemaname
|
left join
|
||||||
and c.table_name = st.relname
|
pg_catalog.pg_statio_all_tables as st
|
||||||
|
on
|
||||||
|
st.schemaname = c.table_schema
|
||||||
|
and st.relname = c.table_name
|
||||||
|
|
||||||
left join
|
left join
|
||||||
pg_catalog.pg_description pgd
|
pg_catalog.pg_description pgd
|
||||||
|
Reference in New Issue
Block a user