Loading django/db/backends/postgresql_psycopg2/introspection.py +1 −0 Original line number Diff line number Diff line Loading @@ -137,6 +137,7 @@ class DatabaseIntrospection(BaseDatabaseIntrospection): WHERE kc.table_schema = %s AND kc.table_name = %s ORDER BY kc.ordinal_position ASC """, ["public", table_name]) for constraint, column, kind, used_cols in cursor.fetchall(): # If we're the first column, make the record Loading Loading
django/db/backends/postgresql_psycopg2/introspection.py +1 −0 Original line number Diff line number Diff line Loading @@ -137,6 +137,7 @@ class DatabaseIntrospection(BaseDatabaseIntrospection): WHERE kc.table_schema = %s AND kc.table_name = %s ORDER BY kc.ordinal_position ASC """, ["public", table_name]) for constraint, column, kind, used_cols in cursor.fetchall(): # If we're the first column, make the record Loading