Changing "varchar() binary" to varbinary in MySQL and Sqlite for two columns: rd_title and rd_fragment. Fixing db drifts of schema in Postgres: - Setting the data type of rd_namespace from SMALLINT and setting its default - Set empty string as default of rd_title - Changing datatype of rd_interwiki to varchar (PG supports that) Bug: T164898 Bug: T230428 Change-Id: I9563792b1fc0ce5f3de78c08703a768a0c2e99d0
2 lines
127 B
SQL
2 lines
127 B
SQL
ALTER TABLE /*_*/redirect MODIFY rd_title VARBINARY(255) NOT NULL default '',
|
|
MODIFY rd_fragment VARBINARY(255) default NULL;
|