From 12ce63e57c3e6a352da9616c44642fcd8c66fb69 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Sat, 31 Oct 2009 13:16:37 +0000 Subject: [PATCH] Fix typo in foreign key constraint name Signed-off-by: Frank Lichtenheld --- dak/dakdb/update22.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5