forked from science-ation/science-ation
switch year unsigned int (10) to year int (11) so year's of -1 (defaults) will work.
This commit is contained in:
parent
66efd08ee3
commit
c934d3a9f7
@ -812,7 +812,7 @@ CREATE TABLE `signaturepage` (
|
|||||||
|
|
||||||
CREATE TABLE `questions` (
|
CREATE TABLE `questions` (
|
||||||
`id` int(10) unsigned NOT NULL auto_increment,
|
`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,
|
`section` varchar(32) NOT NULL,
|
||||||
`db_heading` varchar(64) NOT NULL,
|
`db_heading` varchar(64) NOT NULL,
|
||||||
`question` text NOT NULL,
|
`question` text NOT NULL,
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
CREATE TABLE `questions` (
|
CREATE TABLE `questions` (
|
||||||
`id` int(10) unsigned NOT NULL auto_increment,
|
`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,
|
`section` varchar(32) NOT NULL,
|
||||||
`db_heading` varchar(64) NOT NULL,
|
`db_heading` varchar(64) NOT NULL,
|
||||||
`question` text NOT NULL,
|
`question` text NOT NULL,
|
||||||
|
Loading…
Reference in New Issue
Block a user