2018-01-25 04:57:33 +00:00
|
|
|
CREATE TABLE `polls` (
|
|
|
|
`pollID` serial not null,
|
2018-01-27 07:30:44 +00:00
|
|
|
`parentID` int DEFAULT 0 not null,
|
|
|
|
`parentTable` varchar (100) DEFAULT 'topics' not null,
|
2018-01-25 04:57:33 +00:00
|
|
|
`type` int DEFAULT 0 not null,
|
|
|
|
`options` json not null,
|
|
|
|
`votes` int DEFAULT 0 not null,
|
|
|
|
primary key(`pollID`)
|
|
|
|
);
|