This will allow for replacing the limit-and-offset queries with queries that page in a sensible manner. Bug: T59176 Change-Id: If5c137f68496772f3fff3a735b7b0c388426e518
4 lines
276 B
SQL
4 lines
276 B
SQL
-- @since 1.29
|
|
ALTER TABLE /*$wgDBprefix*/externallinks ADD COLUMN el_index_60 varbinary(60) NOT NULL DEFAULT '';
|
|
CREATE INDEX /*i*/el_index_60 ON /*_*/externallinks (el_index_60, el_id);
|
|
CREATE INDEX /*i*/el_from_index_60 ON /*_*/externallinks (el_from, el_index_60, el_id);
|