mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-30 18:45:07 +00:00
6b8571403a
patch set 3: * add gender support to various messages * tweak variables a little bit, e.g. move class variables to function local variables patch set 4: * update various email to e-mail in i18n file * add support to process only valid echo events * add global email footer * add the new table schema to core schema file patch set 5: * remove trailing white space * add missing semicolon to return statement in Notifier::notifyWithEmail() patch set 8: * some change based on newest feature requirement Change-Id: I3298617dab4c04c4d6d486469120fc2d0c986b66
10 lines
509 B
SQL
10 lines
509 B
SQL
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);
|