]> git.decadent.org.uk Git - dak.git/commitdiff
never change things at the last minute...
authorMark Hymers <mhy@debian.org>
Fri, 30 Oct 2009 14:00:01 +0000 (14:00 +0000)
committerMark Hymers <mhy@debian.org>
Fri, 30 Oct 2009 14:00:01 +0000 (14:00 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
dak/dakdb/update20.py

index 27df549b84911740112cc41cae8a7e6d0287ae91..f4e34cb96b56428791918a43642d4fa8f932e071 100755 (executable)
@@ -84,11 +84,11 @@ def do_update(self):
         c.execute("ALTER TABLE suite ADD COLUMN policy_queue_id INT4 REFERENCES queue(id) DEFAULT NULL")
         # Handle some of our common cases automatically
         if seenqueues.has_key('proposedupdates'):
-            c.execute("""UPDATE suite SET policy_queue = (SELECT id FROM queue WHERE queue_name = 'proposedupdates')
+            c.execute("""UPDATE suite SET policy_queue_id = (SELECT id FROM queue WHERE queue_name = 'proposedupdates')
                                       WHERE suite_name = 'proposed-updates'""")
 
         if seenqueues.has_key('oldproposedupdates'):
-            c.execute("""UPDATE suite SET policy_queue = (SELECT id FROM queue WHERE queue_name = 'oldproposedupdates')
+            c.execute("""UPDATE suite SET policy_queue_id = (SELECT id FROM queue WHERE queue_name = 'oldproposedupdates')
                                       WHERE suite_name = 'oldstable-proposed-updates'""")
 
         print "Committing"