]> git.decadent.org.uk Git - dak.git/commitdiff
Fix typo in foreign key constraint name
authorFrank Lichtenheld <djpig@debian.org>
Sat, 31 Oct 2009 13:16:37 +0000 (13:16 +0000)
committerFrank Lichtenheld <djpig@debian.org>
Sat, 31 Oct 2009 13:16:37 +0000 (13:16 +0000)
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
dak/dakdb/update22.py

index 7234555eda7ea8be18dd6785eccedfdd3929dbc5..924e30784ad4a69d3a3a409cdb0db9c1b631e9a5 100755 (executable)
@@ -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