From: Mark Hymers Date: Wed, 31 Aug 2011 10:07:25 +0000 (+0100) Subject: Fix incorrect update number X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8f07b1f17a1048b4d26362db8563330f889e087;p=dak Fix incorrect update number Signed-off-by: Mark Hymers --- diff --git a/dak/dakdb/update67.py b/dak/dakdb/update67.py index 7cba5832..18c51d49 100755 --- a/dak/dakdb/update67.py +++ b/dak/dakdb/update67.py @@ -191,9 +191,9 @@ SET search_path = public, pg_temp"""); c.execute("CREATE TRIGGER trigger_src_associations_audit AFTER INSERT OR DELETE ON src_associations FOR EACH ROW EXECUTE PROCEDURE trigger_binsrc_assoc_update()") c.execute("CREATE TRIGGER trigger_override_audit AFTER UPDATE ON override FOR EACH ROW EXECUTE PROCEDURE trigger_override_update()") - c.execute("UPDATE config SET value = '66' WHERE name = 'db_revision'") + c.execute("UPDATE config SET value = '67' WHERE name = 'db_revision'") self.db.commit() except psycopg2.ProgrammingError, msg: self.db.rollback() - raise DBUpdateError('Unable to apply sick update 66, rollback issued. Error message : %s' % (str(msg))) + raise DBUpdateError('Unable to apply sick update 67, rollback issued. Error message : %s' % (str(msg)))