Mercurial > bitten > bitten-test
diff bitten/upgrades.py @ 788:9a1a2faa6a79
Preserve build id during latest upgrade.
author | hodgestar |
---|---|
date | Fri, 30 Apr 2010 11:47:32 +0000 |
parents | 025b3e889321 |
children | 7c80375d4817 |
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):