mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 01:30:15 +00:00
532faf27f5
SQL files that are MySQL/SQLite specific have been moved to subfolders Change-Id: Ib677815f2fb6a4e3aa0236a31160efaf761ad4ef
12 lines
397 B
SQL
12 lines
397 B
SQL
-- Patch to drop unused etp_user
|
|
|
|
-- Drop indexes depending on etp_user
|
|
DROP INDEX /*i*/echo_target_page_user_event ON /*_*/echo_target_page;
|
|
DROP INDEX /*i*/echo_target_page_user_page_event ON /*_*/echo_target_page;
|
|
|
|
-- Drop etp_user column
|
|
ALTER TABLE /*_*/echo_target_page DROP etp_user;
|
|
|
|
-- Add index on etp_event
|
|
CREATE INDEX /*i*/echo_target_page_event ON /*_*/echo_target_page (etp_event);
|