2018-08-15 07:02:57 +00:00
|
|
|
CREATE TABLE "polls" (
|
2022-02-21 03:16:15 +00:00
|
|
|
`pollID` serial not null,
|
|
|
|
`parentID` int DEFAULT 0 not null,
|
|
|
|
`parentTable` varchar (100) DEFAULT 'topics' not null,
|
|
|
|
`type` int DEFAULT 0 not null,
|
|
|
|
`options` json not null,
|
|
|
|
`votes` int DEFAULT 0 not null,
|
|
|
|
primary key(`pollID`)
|
2018-01-25 04:57:33 +00:00
|
|
|
);
|