Remove auto incremement values from table creation

This commit is contained in:
james 2006-07-12 14:35:41 +00:00
parent 8665e4a487
commit ba38372fb5

View File

@ -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);