This commit is contained in:
2026-01-19 01:12:44 +01:00
parent e761b62ac2
commit 0a65701e0e
4 changed files with 230 additions and 16 deletions

View File

@@ -44,6 +44,7 @@ CREATE TABLE IF NOT EXISTS `customer_users` (
`password_hash` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`role` varchar(30) NOT NULL DEFAULT 'editor',
`is_active` tinyint(1) NOT NULL DEFAULT 1,
`list_sort` varchar(32) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT current_timestamp(),
`updated_at` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
PRIMARY KEY (`id`),
@@ -138,6 +139,7 @@ CREATE TABLE IF NOT EXISTS `emailtemplate_customer_users` (
`password_hash` varchar(255) NOT NULL,
`role` varchar(30) NOT NULL DEFAULT 'editor',
`is_active` tinyint(1) NOT NULL DEFAULT 1,
`list_sort` varchar(32) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT current_timestamp(),
`updated_at` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
PRIMARY KEY (`id`),