From ce1d289a311070ea9e4ae262189c3ffe8d89547e Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 8 Jun 2010 18:49:21 +0000 Subject: [PATCH] Convert labels to new format and millimeters. Drop now-unused columns "face" and "lines". --- db/db.code.version.txt | 2 +- db/db.update.174.sql | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 db/db.update.174.sql diff --git a/db/db.code.version.txt b/db/db.code.version.txt index c4597e5..c5356ba 100644 --- a/db/db.code.version.txt +++ b/db/db.code.version.txt @@ -1 +1 @@ -173 +174 diff --git a/db/db.update.174.sql b/db/db.update.174.sql new file mode 100644 index 0000000..0259242 --- /dev/null +++ b/db/db.update.174.sql @@ -0,0 +1,4 @@ +ALTER TABLE `reports_items` CHANGE `on_overflow` `on_overflow` ENUM( 'nothing', 'truncate', '...', 'scale' ) NOT NULL DEFAULT 'nothing'; +ALTER TABLE `reports_items` DROP `lines`; +ALTER TABLE `reports_items` DROP `face` ; +