forked from techjoomla/TJ-Notifications
-
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.
Update SQL and version techjoomla#51
- Loading branch information
1 parent
b939509
commit 1e438a6
Showing
1 changed file
with
33 additions
and
0 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,33 @@ | ||
|
||
|
||
|
||
-- | ||
-- Change default table CHARACTER to utf8mb4 and COLLATE to utf8mb4_unicode_ci; | ||
-- | ||
|
||
ALTER TABLE `#__tj_notification_providers` ENGINE = InnoDB; | ||
ALTER TABLE `#__tj_notification_templates` ENGINE = InnoDB; | ||
ALTER TABLE `#__tj_notification_user_exclusions` ENGINE = InnoDB; | ||
|
||
-- #__tj_notification_providers columns | ||
ALTER TABLE `#__tj_notification_providers` CHANGE `provider` `provider` VARCHAR(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL; | ||
|
||
-- #__tj_notification_templates columns | ||
ALTER TABLE `#__tj_notification_templates` CHANGE `client` `client` VARCHAR(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL; | ||
ALTER TABLE `#__tj_notification_templates` CHANGE `key` `key` VARCHAR(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL; | ||
ALTER TABLE `#__tj_notification_templates` CHANGE `title` `title` VARCHAR(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL; | ||
ALTER TABLE `#__tj_notification_templates` CHANGE `email_body` `email_body` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL; | ||
ALTER TABLE `#__tj_notification_templates` CHANGE `sms_body` `sms_body` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL; | ||
ALTER TABLE `#__tj_notification_templates` CHANGE `push_body` `push_body` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL; | ||
ALTER TABLE `#__tj_notification_templates` CHANGE `web_body` `web_body` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL; | ||
ALTER TABLE `#__tj_notification_templates` CHANGE `email_subject` `email_subject` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL; | ||
ALTER TABLE `#__tj_notification_templates` CHANGE `sms_subject` `sms_subject` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL; | ||
ALTER TABLE `#__tj_notification_templates` CHANGE `push_subject` `push_subject` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL; | ||
ALTER TABLE `#__tj_notification_templates` CHANGE `web_subject` `web_subject` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL; | ||
ALTER TABLE `#__tj_notification_templates` CHANGE `replacement_tags` `replacement_tags` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL; | ||
|
||
-- #__tj_notification_user_exclusions columns | ||
ALTER TABLE `#__tj_notification_user_exclusions` CHANGE `client` `client` VARCHAR(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL; | ||
ALTER TABLE `#__tj_notification_user_exclusions` CHANGE `key` `key` VARCHAR(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL; | ||
ALTER TABLE `#__tj_notification_user_exclusions` CHANGE `provider` `provider` VARCHAR(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL; | ||
|