mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-01 10:56:44 +00:00
10 lines
509 B
MySQL
10 lines
509 B
MySQL
|
CREATE TABLE /*_*/echo_email_batch (
|
||
|
eeb_id int unsigned not null primary key auto_increment,
|
||
|
eeb_user_id int unsigned not null,
|
||
|
eeb_event_priority tinyint unsigned not null default 10, -- event priority
|
||
|
eeb_event_id int unsigned not null
|
||
|
) /*$wgDBTableOptions*/;
|
||
|
|
||
|
CREATE UNIQUE INDEX /*i*/echo_email_batch_user_event ON /*_*/echo_email_batch (eeb_user_id,eeb_event_id);
|
||
|
CREATE UNIQUE INDEX /*i*/echo_email_batch_user_priority_event ON /*_*/echo_email_batch (eeb_user_id,eeb_event_priority,eeb_event_id);
|