Skip to content

Commit

Permalink
mysql sql: fix size of token column for b8_wordlist
Browse files Browse the repository at this point in the history
This is because ALTER TABLE  CONVERT TO CHARACTER SET utf8mb4; fails
because the column index would be more than 1000 bytes.
  • Loading branch information
tenzap committed Dec 29, 2024
1 parent 1dd6911 commit 9eda6a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/sql/mysql/upgrade_kalkun_0.8.sql
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ ALTER TABLE `user_sentitems` CONVERT TO CHARACTER SET utf8mb4;
ALTER TABLE `user_settings` CONVERT TO CHARACTER SET utf8mb4;
ALTER TABLE `user_group` CONVERT TO CHARACTER SET utf8mb4;
ALTER TABLE `user_templates` CONVERT TO CHARACTER SET utf8mb4;
ALTER TABLE `b8_wordlist` MODIFY `token` VARCHAR(190);
ALTER TABLE `b8_wordlist` CONVERT TO CHARACTER SET utf8mb4;
ALTER TABLE `plugins` MODIFY `plugin_system_name` VARCHAR(191);
ALTER TABLE `plugins` MODIFY `plugin_name` VARCHAR(191);
Expand Down

0 comments on commit 9eda6a4

Please sign in to comment.