X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fdakdb%2Fupdate22.py;h=b6fbbb447b37ac776085ca91efeb1449f63fd21f;hb=4d1130d0a22b6aac6396c7a504675ff87459b2d8;hp=4f95262debd1f72d2dceed90ab63225de828604a;hpb=8fbdf337ce6ccfea3aac3437ce47964d33dc5d9e;p=dak.git diff --git a/dak/dakdb/update22.py b/dak/dakdb/update22.py index 4f95262d..b6fbbb44 100755 --- a/dak/dakdb/update22.py +++ b/dak/dakdb/update22.py @@ -98,7 +98,7 @@ def do_update(self): ON DELETE CASCADE""") - c.execute("""ALTER TABLE suite DROP CONSTRAINT suite_policy_queue_fkey""") + c.execute("""ALTER TABLE suite DROP CONSTRAINT suite_policy_queue_id_fkey""") c.execute("""UPDATE suite SET policy_queue_id = (SELECT policy_queue.id FROM policy_queue