mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 13:11:19 -03:30
correct constraint name
This commit is contained in:
parent
0fa0a517ac
commit
a1d1e70e43
@ -51,7 +51,7 @@ def migrate_event_data(apps, schema_editor):
|
||||
# TODO: do more generic search for pkey constraints
|
||||
# instead of hardcoding this one that applies to main_jobevent
|
||||
cursor.execute(
|
||||
f'ALTER TABLE tmp_{tblname} DROP CONSTRAINT {tblname}_pkey1'
|
||||
f'ALTER TABLE tmp_{tblname} DROP CONSTRAINT tmp_{tblname}_pkey'
|
||||
)
|
||||
|
||||
# create parent table
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user