changeset 847:f606ee47b8ca

Update bitten_build id sequence on PostgreSQL after re-creating bitten_build table when adding last_activity column. See #632.
author hodgestar
date Tue, 12 Oct 2010 21:28:30 +0000
parents ee95915922dd
children 351dfe735924
files bitten/upgrades.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/bitten/upgrades.py
+++ b/bitten/upgrades.py
@@ -157,6 +157,8 @@
                    "SELECT id,config,rev,rev_time,platform,"
                    "slave,started,stopped,stopped,status FROM old_build_v11")
 
+    update_sequence(env, db, 'bitten_build', 'id')
+
 def add_config_to_reports(env, db):
     """Add the name of the build configuration as metadata to report documents
     stored in the BDB XML database."""
Copyright (C) 2012-2017 Edgewall Software