[dak/master 32/50] Fix typo in foreign key constraint name
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
---
dak/dakdb/update22.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dak/dakdb/update22.py b/dak/dakdb/update22.py
index 7234555..924e307 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
--
1.6.3.3
Reply to: