mediawiki-extensions-Echo/db_patches/mysql/patch-drop-notification_bundle_base.sql
Reedy 532faf27f5 Reorganise MySQL/SQLite patches
SQL files that are MySQL/SQLite specific have been moved to subfolders

Change-Id: Ib677815f2fb6a4e3aa0236a31160efaf761ad4ef
2021-06-26 16:24:14 +00:00

6 lines
397 B
SQL

-- Drop unused field notification_bundle_base and the indexes that contain it
DROP INDEX /*i*/echo_notification_user_base_read_timestamp ON /*_*/echo_notification;
DROP INDEX /*i*/echo_notification_user_base_timestamp ON /*_*/echo_notification;
DROP INDEX /*i*/echo_notification_user_hash_base_timestamp ON /*_*/echo_notification;
ALTER TABLE /*_*/echo_notification DROP notification_bundle_base;