adasd
This commit is contained in:
11
schema.sql
11
schema.sql
@@ -139,6 +139,17 @@ CREATE TABLE IF NOT EXISTS `emailtemplate_sender_identities` (
|
||||
CONSTRAINT `fk_sender_customer` FOREIGN KEY (`customer_id`) REFERENCES `emailtemplate_customers` (`id`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
-- Tabelle: emailtemplate_template_usage
|
||||
CREATE TABLE IF NOT EXISTS `emailtemplate_template_usage` (
|
||||
`template_id` int(10) unsigned NOT NULL,
|
||||
`customer_id` int(10) unsigned NOT NULL,
|
||||
`render_count` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`last_rendered_at` timestamp NULL DEFAULT NULL,
|
||||
PRIMARY KEY (`template_id`),
|
||||
KEY `idx_usage_customer` (`customer_id`),
|
||||
CONSTRAINT `fk_usage_template` FOREIGN KEY (`template_id`) REFERENCES `emailtemplate_templates` (`id`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
-- Tabelle: emailtemplate_customer_users
|
||||
CREATE TABLE IF NOT EXISTS `emailtemplate_customer_users` (
|
||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
|
||||
Reference in New Issue
Block a user