mail setup
This commit is contained in:
21
schema.sql
21
schema.sql
@@ -212,6 +212,27 @@ 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_smtp_profiles
|
||||
CREATE TABLE IF NOT EXISTS `emailtemplate_smtp_profiles` (
|
||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`customer_id` int(10) unsigned NOT NULL,
|
||||
`label` varchar(255) NOT NULL,
|
||||
`smtp_host` varchar(255) NOT NULL,
|
||||
`smtp_port` int(10) unsigned DEFAULT NULL,
|
||||
`smtp_user` varchar(255) DEFAULT NULL,
|
||||
`smtp_pass` varchar(255) DEFAULT NULL,
|
||||
`smtp_secure` varchar(16) DEFAULT NULL,
|
||||
`from_email` varchar(255) DEFAULT NULL,
|
||||
`from_name` varchar(255) DEFAULT NULL,
|
||||
`reply_to` varchar(255) 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`),
|
||||
KEY `idx_smtp_customer` (`customer_id`),
|
||||
KEY `idx_smtp_host` (`smtp_host`),
|
||||
CONSTRAINT `fk_smtp_customer` FOREIGN KEY (`customer_id`) REFERENCES `emailtemplate_customers` (`id`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
-- Tabelle: emailtemplate_snippets
|
||||
CREATE TABLE IF NOT EXISTS `emailtemplate_snippets` (
|
||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
|
||||
Reference in New Issue
Block a user