# HG changeset patch # User hodgestar # Date 1272628052 0 # Node ID 9a1a2faa6a79efa0cc9caa7b1e7642297307dfdf # Parent 8e76b8f6310aa0acfe45d79b402eb816b487728d Preserve build id during latest upgrade. diff --git a/bitten/upgrades.py b/bitten/upgrades.py --- 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):