diff --git a/db_patches/patch-notification-pk.sql b/db_patches/patch-notification-pk.sql deleted file mode 100644 index 9072d1f34..000000000 --- a/db_patches/patch-notification-pk.sql +++ /dev/null @@ -1,3 +0,0 @@ -DROP INDEX /*i*/user_event ON /*_*/echo_notification; - -ALTER TABLE /*_*/echo_notification ADD PRIMARY KEY (notification_user, notification_event); diff --git a/includes/Hooks.php b/includes/Hooks.php index 46c9a6e3f..a110853d7 100644 --- a/includes/Hooks.php +++ b/includes/Hooks.php @@ -218,10 +218,6 @@ class Hooks implements RecentChange_saveHook { $updater->addExtensionTable( 'echo_event', "$dir/echo.sql" ); - // 1.29 - $updater->dropExtensionIndex( 'echo_notification', 'user_event', - "$dir/db_patches/patch-notification-pk.sql" ); - // 1.33 // Can't use addPostDatabaseUpdateMaintenance() here because that would // run the migration script after dropping the fields