mediawiki-extensions-Echo/db_patches/patch-add-notification_event-index.sql
Roan Kattouw 617cd3d29e Add index on notification_event
So we can easily query the notification rows that belong to
a given event row. This is needed for the removeOrphanedEvents
maintenance script to run efficiently.

Change-Id: I99fc31a62b37259d7000577583c8e8a599e400f9
2016-06-14 19:57:06 +00:00

2 lines
90 B
SQL

CREATE INDEX /*i*/echo_notification_event ON /*_*/echo_notification (notification_event);