Skip to content

Commit

Permalink
[4.2] Mail Templates htmlbody (#37701)
Browse files Browse the repository at this point in the history
* [4.1] Mail Templates htmlbody

* Update administrator/components/com_admin/sql/updates/mysql/4.1.3-2022-04-30.sql

Co-authored-by: Richard Fath <[email protected]>

* Rename 4.1.3-2022-04-30.sql to 4.2.0-2022-06-15.sql

Co-authored-by: Richard Fath <[email protected]>
  • Loading branch information
brianteeman and richard67 authored Jun 16, 2022
1 parent ee07c75 commit 1e16355
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
--
-- Increase the size of the htmlbody field in the #__mail_templates table
--
ALTER TABLE `#__mail_templates` MODIFY `htmlbody` mediumtext NOT NULL COLLATE 'utf8mb4_unicode_ci';
2 changes: 1 addition & 1 deletion installation/sql/mysql/supports.sql
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ CREATE TABLE IF NOT EXISTS `#__mail_templates` (
`language` char(7) NOT NULL DEFAULT '',
`subject` VARCHAR(255) NOT NULL DEFAULT '',
`body` TEXT NOT NULL,
`htmlbody` TEXT NOT NULL,
`htmlbody` MEDIUMTEXT NOT NULL,
`attachments` TEXT NOT NULL,
`params` TEXT NOT NULL,
PRIMARY KEY (`template_id`, `language`)
Expand Down

0 comments on commit 1e16355

Please sign in to comment.