From c934d3a9f7d655488b11c911d7ca8d87e5fb7918 Mon Sep 17 00:00:00 2001 From: james Date: Wed, 12 Jul 2006 14:45:53 +0000 Subject: [PATCH] switch year unsigned int (10) to year int (11) so year's of -1 (defaults) will work. --- db/db.full.18.sql | 2 +- db/db.update.18.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db/db.full.18.sql b/db/db.full.18.sql index 30c3392..d7893e1 100644 --- a/db/db.full.18.sql +++ b/db/db.full.18.sql @@ -812,7 +812,7 @@ CREATE TABLE `signaturepage` ( CREATE TABLE `questions` ( `id` int(10) unsigned NOT NULL auto_increment, - `year` int(10) unsigned NOT NULL default '0', + `year` int(11) NOT NULL default '0', `section` varchar(32) NOT NULL, `db_heading` varchar(64) NOT NULL, `question` text NOT NULL, diff --git a/db/db.update.18.sql b/db/db.update.18.sql index 609b48c..9468b66 100644 --- a/db/db.update.18.sql +++ b/db/db.update.18.sql @@ -6,7 +6,7 @@ CREATE TABLE `questions` ( `id` int(10) unsigned NOT NULL auto_increment, - `year` int(10) unsigned NOT NULL default '0', + `year` int(11) NOT NULL default '0', `section` varchar(32) NOT NULL, `db_heading` varchar(64) NOT NULL, `question` text NOT NULL,