mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-14 19:28:31 +00:00
fcc46964c1
The addition of the foreign key echo_push_subscription_ibfk_2 in4abfbd3
did not affected already existing installs, because the updater part was missing. The addition of a foreign key also creates an index under mysql, which is also not part of older installs and needs to be created. Also the new field eps_topic fromc188dac
is missing and now added. The new index echo_push_subscription_token from3513c64
is added. The drop patch setd35c502
assumes that the foreign key exists, now every step of the update is running separately to avoid one failing update to skip the remaing update steps. This avoid issues on wikis installed before REL1_35 and updated with the patches from REL1_36 Bug: T322143 Change-Id: I0759b82ad91849880c784e412e04dd53f26df6a2
4 lines
197 B
SQL
4 lines
197 B
SQL
-- Rename index to match table prefix - T306473
|
|
DROP INDEX /*i*/echo_push_subscription_user_id ON /*_*/echo_push_subscription;
|
|
CREATE INDEX /*i*/eps_user ON /*_*/echo_push_subscription (eps_user);
|