mediawiki-extensions-Echo/db_patches/patch-drop-notification_bundle_base.sql
Roan Kattouw ae75a8118a Remove notification_bundle_base
No longer used in the new bundling system.
Also removes indexes that contain bundle_base.

Bug: T143763
Bug: T131415
Change-Id: Ibf94cdc471a11cb14995fee6a55af0d227b50aa5
2019-03-04 13:22:17 -08: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;