up
This commit is contained in:
@@ -219,6 +219,7 @@ CREATE TABLE IF NOT EXISTS `emailtemplate_templates` (
|
||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`customer_id` int(10) unsigned NOT NULL,
|
||||
`name` varchar(255) NOT NULL,
|
||||
`api_name` varchar(190) NOT NULL,
|
||||
`json_content` mediumtext DEFAULT NULL,
|
||||
`html` mediumtext DEFAULT NULL,
|
||||
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
|
||||
@@ -226,7 +227,8 @@ CREATE TABLE IF NOT EXISTS `emailtemplate_templates` (
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `idx_tpl_customer` (`customer_id`),
|
||||
KEY `idx_tpl_updated` (`updated_at`),
|
||||
KEY `idx_tpl_name` (`name`)
|
||||
KEY `idx_tpl_name` (`name`),
|
||||
UNIQUE KEY `uidx_tpl_customer_api_name` (`customer_id`, `api_name`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
-- Tabelle: emailtemplate_template_items
|
||||
@@ -260,4 +262,4 @@ CREATE TABLE IF NOT EXISTS `emailtemplate_template_usage` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
-- Ende des Schema-Dumps
|
||||
-- Ende des Schema-Dumps
|
||||
|
||||
Reference in New Issue
Block a user