Compare commits
1 Commits
ee28c2950a
...
102997efc8
Author | SHA1 | Date | |
---|---|---|---|
102997efc8 |
|
@ -67,6 +67,7 @@ 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