switch year unsigned int (10) to year int (11) so year's of -1 (defaults) will work.

This commit is contained in:
james 2006-07-12 14:45:53 +00:00
parent 66efd08ee3
commit c934d3a9f7
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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,