forked from science-ation/science-ation
Remove auto incremement values from table creation
This commit is contained in:
parent
8665e4a487
commit
ba38372fb5
@ -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 AUTO_INCREMENT=11 ;
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@ -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 AUTO_INCREMENT=59 ;
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
-- 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