wiki.techinc.nl/maintenance/archives/patch-category-cat_title-varbinary.sql
Amir Sarabadani b0c18769da Migrate category to abstract schema
In order to migrate MySQL and Sqlite to abstract schema changed the
cat_title data type from varchar binary to varbinary. This wouldn't
affect production.

For migrating Postgres, renamed two indexes from category_* to cat_* to
make it in sync with MySQL/Sqlite

Bug: T164898
Bug: T230428
Change-Id: Iad11aa4f7d809465cb20ac9748bf52b0e1bcd5a4
2020-09-05 20:49:12 +02:00

1 line
68 B
SQL

ALTER TABLE /*_*/category MODIFY cat_title VARBINARY(255) NOT NULL;