BREAKING: update mautrix to 0.15.x

This commit is contained in:
Aine
2023-06-01 14:32:20 +00:00
parent a6b20a75ab
commit 2bdb8ca635
222 changed files with 7851 additions and 23986 deletions

View File

@@ -0,0 +1,10 @@
-- v3: Disable nulls in mx_user_profile
UPDATE mx_user_profile SET displayname='' WHERE displayname IS NULL;
UPDATE mx_user_profile SET avatar_url='' WHERE avatar_url IS NULL;
-- only: postgres for next 4 lines
ALTER TABLE mx_user_profile ALTER COLUMN displayname SET DEFAULT '';
ALTER TABLE mx_user_profile ALTER COLUMN displayname SET NOT NULL;
ALTER TABLE mx_user_profile ALTER COLUMN avatar_url SET DEFAULT '';
ALTER TABLE mx_user_profile ALTER COLUMN avatar_url SET NOT NULL;