changeset 789:07a27f6bcadb 0.6.x

0.6dev: Merge of [866] from trunk.
author hodgestar
date Fri, 30 Apr 2010 11:55:50 +0000
parents da6f033cc1d2
children ec21a73814b7
files bitten/upgrades.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bitten/upgrades.py
+++ b/bitten/upgrades.py
@@ -150,9 +150,9 @@
         cursor.execute(stmt)
 
     # it's safe to make the last activity the stop time of the build
-    cursor.execute("INSERT INTO bitten_build (config,rev,rev_time,platform,"
+    cursor.execute("INSERT INTO bitten_build (id,config,rev,rev_time,platform,"
                    "slave,started,stopped,last_activity,status) "
-                   "SELECT config,rev,rev_time,platform,"
+                   "SELECT id,config,rev,rev_time,platform,"
                    "slave,started,stopped,stopped,status FROM old_build_v11")
 
 def add_config_to_reports(env, db):
Copyright (C) 2012-2017 Edgewall Software