9efed8c0bc
Refactored the request logging logic into it's own function.
9 lines
258 B
SQL
9 lines
258 B
SQL
CREATE TABLE `polls` (
|
|
`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`)
|
|
); |