forked from science-ation/science-ation
remove DEFAULT CHARSET (doesnt work on mysql 4.x) and switch ENGINE to TYPE for consistency
This commit is contained in:
parent
f117fb3dae
commit
66efd08ee3
@ -820,7 +820,7 @@ CREATE TABLE `questions` (
|
||||
`required` enum('no','yes') NOT NULL default 'yes',
|
||||
`ord` int(11) NOT NULL default '0',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
) TYPE = MyISAM;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@ -835,7 +835,7 @@ CREATE TABLE `question_answers` (
|
||||
`answer` varchar(32) NOT NULL default '',
|
||||
`year` int(11) NOT NULL default '0',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
) TYPE = MyISAM;
|
||||
|
||||
-- Now insert everything
|
||||
|
||||
|
@ -14,7 +14,7 @@ CREATE TABLE `questions` (
|
||||
`required` enum('no','yes') NOT NULL default 'yes',
|
||||
`ord` int(11) NOT NULL default '0',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
) TYPE = MyISAM;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@ -29,7 +29,7 @@ CREATE TABLE `question_answers` (
|
||||
`answer` varchar(32) NOT NULL default '',
|
||||
`year` int(11) NOT NULL default '0',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
) TYPE = MyISAM;
|
||||
|
||||
-- Now insert everything
|
||||
INSERT INTO `questions` (`id`, `year`, `section`, `db_heading`, `question`, `type`, `required`, `ord`) VALUES ('', -1, 'judgereg', 'Years School', 'Years of judging experience at a School level:', 'int', 'yes', 1);
|
||||
|
Loading…
Reference in New Issue
Block a user