From 5092f26ebf1d8ce76088ed442c2b0a9a1dadf095 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sun, 4 Sep 2011 14:52:49 +0200 Subject: [PATCH] Rename dakdb/update67.py -> dakdb/update69.py --- dak/dakdb/{update67.py => update69.py} | 4 ++-- dak/update_db.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename dak/dakdb/{update67.py => update69.py} (93%) diff --git a/dak/dakdb/update67.py b/dak/dakdb/update69.py similarity index 93% rename from dak/dakdb/update67.py rename to dak/dakdb/update69.py index 2d2d7287..941a3e99 100755 --- a/dak/dakdb/update67.py +++ b/dak/dakdb/update69.py @@ -71,9 +71,9 @@ $function$""") c.execute("ALTER TABLE suite ADD COLUMN include_long_description BOOLEAN NOT NULL DEFAULT 't'") - c.execute("UPDATE config SET value = '67' WHERE name = 'db_revision'") + c.execute("UPDATE config SET value = '69' WHERE name = 'db_revision'") self.db.commit() except psycopg2.ProgrammingError, msg: self.db.rollback() - raise DBUpdateError, 'Unable to apply sick update 67, rollback issued. Error message : %s' % (str(msg)) + raise DBUpdateError('Unable to apply sick update 69, rollback issued. Error message : %s' % (str(msg))) diff --git a/dak/update_db.py b/dak/update_db.py index 89fc174e..3df0b43b 100755 --- a/dak/update_db.py +++ b/dak/update_db.py @@ -46,7 +46,7 @@ from daklib.daklog import Logger ################################################################################ Cnf = None -required_database_schema = 67 +required_database_schema = 69 ################################################################################ -- 2.39.5