mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AJAXPoll
synced 2024-12-19 02:00:48 +00:00
125e943aa2
Bug: T227345 Change-Id: I6b3cefb37efe770f7dcb7f7c093bf71e1e8bb543
11 lines
423 B
SQL
11 lines
423 B
SQL
CREATE TABLE IF NOT EXISTS /*_*/ajaxpoll_vote (
|
|
`poll_vote_id` int unsigned NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
|
`poll_id` varchar(32) NOT NULL default '',
|
|
`poll_actor` bigint unsigned NOT NULL,
|
|
`poll_ip` varchar(255) default NULL,
|
|
`poll_answer` int(3) default NULL,
|
|
`poll_date` datetime default NULL
|
|
) /*$wgDBTableOptions*/;
|
|
|
|
CREATE UNIQUE INDEX /*i*/poll_id_actor ON /*_*/ajaxpoll_vote (poll_id, poll_actor);
|