Removed double semicolon in SQL query
This commit is contained in:
parent
4c7bf83cde
commit
a72411e140
|
@ -234,7 +234,7 @@ class DatabaseIntrospection(BaseDatabaseIntrospection):
|
||||||
AND c2.relam=am.oid
|
AND c2.relam=am.oid
|
||||||
AND c.relname = %s
|
AND c.relname = %s
|
||||||
) s2
|
) s2
|
||||||
GROUP BY indexname, indisunique, indisprimary, amname;;
|
GROUP BY indexname, indisunique, indisprimary, amname;
|
||||||
""", [table_name])
|
""", [table_name])
|
||||||
for index, columns, unique, primary, orders, type_ in cursor.fetchall():
|
for index, columns, unique, primary, orders, type_ in cursor.fetchall():
|
||||||
if index not in constraints:
|
if index not in constraints:
|
||||||
|
|
Loading…
Reference in New Issue