mediawiki-extensions-Echo/db_patches/patch-email_batch-new-field.sql
Dereckson 85181d3aa1 SQLite compatibility for Echo database patches
These patches allow Echo update to stay compatible with SQLite.

Change-Id: Ie4d0b4ec40bcc504096e87f469be0e96271daec1
2013-10-15 20:56:24 +00:00

8 lines
313 B
SQL

ALTER TABLE /*_*/echo_email_batch ADD COLUMN eeb_event_hash varchar(32) binary not null default '';
DROP INDEX /*i*/echo_email_batch_user_priority_event ON /*_*/echo_email_batch;
CREATE INDEX /*i*/echo_email_batch_user_hash_priority ON /*_*/echo_email_batch (eeb_user_id, eeb_event_hash, eeb_event_priority);