From d8f07b1f17a1048b4d26362db8563330f889e087 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Wed, 31 Aug 2011 11:07:25 +0100 Subject: [PATCH] Fix incorrect update number Signed-off-by: Mark Hymers --- dak/dakdb/update67.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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))) -- 2.39.5