Skip to content

Commit

Permalink
Merge pull request #4195 from esl/fix-muc_light_rooms-id-key-on-maria-db
Browse files Browse the repository at this point in the history
Fix muc_light_rooms.id key deifinition on MariaDB
  • Loading branch information
pawlooss1 authored Dec 20, 2023
2 parents 2235b76 + 1e3f953 commit dc7cef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion priv/mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ CREATE TABLE muc_light_rooms(
lserver VARCHAR(250) NOT NULL,
version VARCHAR(20) NOT NULL,
PRIMARY KEY (lserver, luser),
UNIQUE KEY k_id USING HASH (id)
UNIQUE KEY uk_muc_light_rooms_id USING BTREE (id)
) CHARACTER SET utf8mb4
ROW_FORMAT=DYNAMIC;

Expand Down

0 comments on commit dc7cef6

Please sign in to comment.