forked from joindin/joindin-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change was made to allow storage of emojis as most relevant database fields where using the utf8 encoding and not the utf8mb4 This will be changed by this commit
- Loading branch information
1 parent
60e6ad8
commit 92e50f2
Showing
2 changed files
with
27 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
ALTER TABLE `talks` DROP INDEX url_friendly_talk_title; | ||
ALTER TABLE `talks` ADD UNIQUE url_friendly_talk_title(url_friendly_talk_title(150), event_id) ; | ||
ALTER TABLE `talks` convert to CHARACTER SET 'utf8mb4' COLLATE utf8mb4_general_ci; | ||
|
||
ALTER TABLE `talk_comments` convert to CHARACTER SET 'utf8mb4' COLLATE utf8mb4_general_ci; | ||
|
||
ALTER TABLE `events` DROP INDEX url_friendly_name; | ||
ALTER TABLE `events` ADD UNIQUE url_friendly_name(url_friendly_name(150)) ; | ||
ALTER TABLE `events` convert to CHARACTER SET 'utf8mb4' COLLATE utf8mb4_general_ci; | ||
|
||
ALTER TABLE `email_verification_tokens` convert to CHARACTER SET 'utf8mb4' COLLATE utf8mb4_general_ci; | ||
ALTER TABLE `event_images` convert to CHARACTER SET 'utf8mb4' COLLATE utf8mb4_general_ci; | ||
ALTER TABLE `oauth_access_tokens` convert to CHARACTER SET 'utf8mb4' COLLATE utf8mb4_general_ci; | ||
ALTER TABLE `oauth_consumers` convert to CHARACTER SET 'utf8mb4' COLLATE utf8mb4_general_ci; | ||
ALTER TABLE `password_reset_tokens` convert to CHARACTER SET 'utf8mb4' COLLATE utf8mb4_general_ci; | ||
ALTER TABLE `pending_talk_claims` convert to CHARACTER SET 'utf8mb4' COLLATE utf8mb4_general_ci; | ||
ALTER TABLE `reported_event_comments` convert to CHARACTER SET 'utf8mb4' COLLATE utf8mb4_general_ci; | ||
ALTER TABLE `reported_talk_comments` convert to CHARACTER SET 'utf8mb4' COLLATE utf8mb4_general_ci; | ||
ALTER TABLE `tags` convert to CHARACTER SET 'utf8mb4' COLLATE utf8mb4_general_ci; | ||
ALTER TABLE `tags_events` convert to CHARACTER SET 'utf8mb4' COLLATE utf8mb4_general_ci; | ||
ALTER TABLE `twitter_request_tokens` convert to CHARACTER SET 'utf8mb4' COLLATE utf8mb4_general_ci; | ||
ALTER TABLE `user_talk_star` convert to CHARACTER SET 'utf8mb4' COLLATE utf8mb4_general_ci; | ||
|
||
INSERT INTO patch_history SET patch_number = 73; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters