mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 21:22:40 +00:00
23 lines
943 B
MySQL
23 lines
943 B
MySQL
|
-- SPDX-License-Identifier: MIT
|
||
|
-- Copyright 2017 J. King, Dustin Wilson et al.
|
||
|
-- See LICENSE and AUTHORS files for details
|
||
|
|
||
|
-- create a case-insensitive generic collation sequence
|
||
|
create collation nocase(
|
||
|
provider = icu,
|
||
|
locale = '@kf=false'
|
||
|
);
|
||
|
|
||
|
-- Correct collation sequences
|
||
|
alter table arsse_users alter column id type text collate nocase;
|
||
|
alter table arsse_folders alter column name type text collate nocase;
|
||
|
alter table arsse_feeds alter column title type text collate nocase;
|
||
|
alter table arsse_subscriptions alter column title type text collate nocase;
|
||
|
alter table arsse_articles alter column title type text collate nocase;
|
||
|
alter table arsse_articles alter column author type text collate nocase;
|
||
|
alter table arsse_categories alter column name type text collate nocase;
|
||
|
alter table arsse_labels alter column name type text collate nocase;
|
||
|
|
||
|
-- set version marker
|
||
|
update arsse_meta set value = '3' where key = 'schema_version';
|