From: Ansgar Burchardt Date: Sun, 4 Sep 2011 12:52:49 +0000 (+0200) Subject: Rename dakdb/update67.py -> dakdb/update69.py X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5092f26ebf1d8ce76088ed442c2b0a9a1dadf095;p=dak Rename dakdb/update67.py -> dakdb/update69.py --- 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 ################################################################################