From 522ea8206dc9f1550aff381349b0a09c7ca5d46d Mon Sep 17 00:00:00 2001 From: james Date: Fri, 22 Jan 2010 04:03:02 +0000 Subject: [PATCH] Change projects.projectdivisions_id and project.projectcategories_id from TINYINT to INT so they match what is allowed in the division and category configuration --- db/db.code.version.txt | 2 +- db/db.update.156.sql | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 db/db.update.156.sql diff --git a/db/db.code.version.txt b/db/db.code.version.txt index bb793653..91b629b0 100644 --- a/db/db.code.version.txt +++ b/db/db.code.version.txt @@ -1 +1 @@ -155 +156 diff --git a/db/db.update.156.sql b/db/db.update.156.sql new file mode 100644 index 00000000..ae5826a6 --- /dev/null +++ b/db/db.update.156.sql @@ -0,0 +1,2 @@ +ALTER TABLE `projects` CHANGE `projectcategories_id` `projectcategories_id` INT UNSIGNED NOT NULL DEFAULT '0'; +ALTER TABLE `projects` CHANGE `projectdivisions_id` `projectdivisions_id` INT UNSIGNED NOT NULL DEFAULT '0';