Compare commits
1 Commits
102997efc8
...
ee28c2950a
Author | SHA1 | Date | |
---|---|---|---|
ee28c2950a |
|
@ -67,7 +67,6 @@ CREATE TABLE `polls` (
|
||||||
CREATE TABLE `poll_options` (
|
CREATE TABLE `poll_options` (
|
||||||
`option_id` MEDIUMINT UNSIGNED NOT NULL AUTO_INCREMENT,
|
`option_id` MEDIUMINT UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
`post_id` MEDIUMINT UNSIGNED NOT NULL,
|
`post_id` MEDIUMINT UNSIGNED NOT NULL,
|
||||||
`quest_id` SMALLINT UNSIGNED NOT NULL,
|
|
||||||
`option_text` VARCHAR(200) NOT NULL,
|
`option_text` VARCHAR(200) NOT NULL,
|
||||||
PRIMARY KEY (`option_id`),
|
PRIMARY KEY (`option_id`),
|
||||||
FOREIGN KEY (`post_id`) REFERENCES `polls`(`post_id`)
|
FOREIGN KEY (`post_id`) REFERENCES `polls`(`post_id`)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user