mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AJAXPoll
synced 2024-12-03 19:16:12 +00:00
15 lines
537 B
MySQL
15 lines
537 B
MySQL
|
CREATE TABLE IF NOT EXISTS /*_*/poll_info (
|
||
|
`poll_id` varchar(32) NOT NULL PRIMARY KEY default '',
|
||
|
`poll_txt` text,
|
||
|
`poll_date` datetime default NULL,
|
||
|
`poll_title` varchar(255) default NULL
|
||
|
) /*$wgDBTableOptions*/;
|
||
|
|
||
|
CREATE TABLE IF NOT EXISTS /*_*/poll_vote (
|
||
|
`poll_id` varchar(32) NOT NULL default '',
|
||
|
`poll_user` varchar(255) NOT NULL default '',
|
||
|
`poll_ip` varchar(255) default NULL,
|
||
|
`poll_answer` int(3) default NULL,
|
||
|
`poll_date` datetime default NULL,
|
||
|
PRIMARY KEY (`poll_id`,`poll_user`)
|
||
|
) /*$wgDBTableOptions*/;
|