This commit is contained in:
2026-01-19 00:45:41 +01:00
parent 6cae9eaab2
commit b25ca61f07
3 changed files with 19 additions and 10 deletions

View File

@@ -75,6 +75,8 @@ CREATE TABLE IF NOT EXISTS `emailtemplate_blocks` (
`category` varchar(100) NOT NULL DEFAULT 'Default',
`json_content` mediumtext DEFAULT NULL,
`html` mediumtext DEFAULT NULL,
`editor_type` varchar(32) DEFAULT NULL,
`craft_json` mediumtext DEFAULT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
PRIMARY KEY (`id`),
@@ -153,6 +155,8 @@ CREATE TABLE IF NOT EXISTS `emailtemplate_sections` (
`type` varchar(50) NOT NULL DEFAULT 'html',
`z_index` int(11) NOT NULL DEFAULT 0,
`html` mediumtext DEFAULT NULL,
`editor_type` varchar(32) DEFAULT NULL,
`craft_json` mediumtext DEFAULT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
PRIMARY KEY (`id`),