mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-27 17:20:40 +00:00
SQLite compatibility for Echo database patches
These patches allow Echo update to stay compatible with SQLite. Change-Id: Ie4d0b4ec40bcc504096e87f469be0e96271daec1
This commit is contained in:
parent
2ba05992be
commit
85181d3aa1
|
@ -1,4 +1,4 @@
|
|||
ALTER TABLE /*_*/echo_email_batch ADD COLUMN eeb_event_hash varchar(32) binary not null;
|
||||
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;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
ALTER TABLE /*_*/echo_notification ADD COLUMN notification_bundle_base boolean not null default 1;
|
||||
ALTER TABLE /*_*/echo_notification ADD COLUMN notification_bundle_hash varchar(32) binary not null;
|
||||
ALTER TABLE /*_*/echo_notification ADD COLUMN notification_bundle_display_hash varchar(32) binary not null;
|
||||
ALTER TABLE /*_*/echo_notification ADD COLUMN notification_bundle_hash varchar(32) binary not null default '';
|
||||
ALTER TABLE /*_*/echo_notification ADD COLUMN notification_bundle_display_hash varchar(32) binary not null default '';
|
||||
|
||||
CREATE INDEX /*i*/echo_notification_user_base_read_timestamp ON /*_*/echo_notification (notification_user, notification_bundle_base, notification_read_timestamp);
|
||||
CREATE INDEX /*i*/echo_notification_user_base_timestamp ON /*_*/echo_notification (notification_user, notification_bundle_base, notification_timestamp, notification_event);
|
||||
|
|
Loading…
Reference in a new issue