- Make si_page primary key - Allow si_title to be larger - Switch from utf8 to utf8mb4 - Remove default of empty string for titles Sqlite is not migrated, as it has it's own overrides Postgres is migrated, but is not in actual use This is mostly from I273e3a7715abf97d2889904642c7c375e76de4f6 Bug: T249976 Bug: T231827 Change-Id: I12adff3e6ca6a9986ff207bef16272195c3a6a48 (cherry picked from commit a2ba7ee14d6b38a5e89bcc63c3bd0ca8b5107702)
8 lines
420 B
SQL
8 lines
420 B
SQL
-- This file is automatically generated using maintenance/generateSchemaChangeSql.php.
|
|
-- Source: maintenance/abstractSchemaChanges/patch-searchindex-innodb-pk-titlelength.json
|
|
-- Do not modify this file directly.
|
|
-- See https://www.mediawiki.org/wiki/Manual:Schema_changes
|
|
DROP INDEX si_page ON /*_*/searchindex;
|
|
ALTER TABLE /*_*/searchindex
|
|
CHANGE si_title si_title MEDIUMTEXT NOT NULL,
|
|
ADD PRIMARY KEY (si_page);
|