From: Frank Lichtenheld Date: Sat, 31 Oct 2009 13:16:37 +0000 (+0000) Subject: Fix typo in foreign key constraint name X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=12ce63e57c3e6a352da9616c44642fcd8c66fb69;p=dak.git Fix typo in foreign key constraint name Signed-off-by: Frank Lichtenheld --- diff --git a/dak/dakdb/update22.py b/dak/dakdb/update22.py index 7234555e..924e3078 100755 --- a/dak/dakdb/update22.py +++ b/dak/dakdb/update22.py @@ -95,7 +95,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