feat(docker): 安装 tzdata 并设置 TZ=Asia/Shanghai 以让 Node.js 使用上海时区

This commit is contained in:
2025-08-02 10:49:24 +08:00
parent bb25928a8e
commit 77030cc8fc
7 changed files with 47 additions and 21 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ CREATE TABLE IF NOT EXISTS emails (
sender VARCHAR(255) NOT NULL,
subject VARCHAR(512),
body TEXT,
received_at DATETIME DEFAULT CURRENT_TIMESTAMP,
received_at DATETIME,
raw MEDIUMBLOB
);
@@ -15,4 +15,4 @@ CREATE TABLE IF NOT EXISTS email_attachments (
content_type VARCHAR(128),
content LONGBLOB,
FOREIGN KEY (email_id) REFERENCES emails(id) ON DELETE CASCADE
);
);