You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
711 B
MySQL
10 lines
711 B
MySQL
|
2 months ago
|
-- Import into the log database configured by log_db_database before deploying
|
||
|
|
-- the mail sending and admin log changes. Existing records remain NULL because
|
||
|
|
-- their actual delivery result cannot be determined from the old log.
|
||
|
|
-- For an existing database only; a fresh import of user_log.sql already has
|
||
|
|
-- these columns, so do not run this migration after that import.
|
||
|
|
ALTER TABLE `user_email_log`
|
||
|
|
MODIFY COLUMN `email` varchar(254) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
|
||
|
|
MODIFY COLUMN `email_type` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||
|
|
ADD COLUMN `status` tinyint(1) DEFAULT NULL COMMENT '1=成功, 0=失败, NULL=历史状态未知' AFTER `email_type`;
|