wiki.techinc.nl/maintenance/archives/patch-watchlist-wl_title-varbinary.sql
Ammar Abdulhamid c8e8449caf Migrate watchlist table to Abstract schema
Postgres:
 - Set empty string as default for wl_title to match MySQL
 - Drop foreign key from wl_user
 - Change wl_namespace datatype from SMALLINT to INT to match MySQL/SQLite
 - Drop PG-specific indexes and sync them with MySQL

Bug: T230428
Bug: T164898
Change-Id: Ie996b81ca59069443976b90d7bcdce29997d768a
2020-10-22 15:12:00 +02:00

2 lines
No EOL
80 B
SQL

ALTER TABLE /*_*/watchlist
MODIFY wl_title VARBINARY(255) DEFAULT '' NOT NULL;