后端统一时区为 UTC
This commit is contained in:
@@ -17,7 +17,7 @@ CREATE TABLE IF NOT EXISTS audit_logs (
|
||||
request_data JSONB,
|
||||
response_status INTEGER,
|
||||
error_message TEXT,
|
||||
timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL
|
||||
timestamp TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP NOT NULL
|
||||
);
|
||||
|
||||
-- 创建索引以提高查询性能
|
||||
|
||||
Reference in New Issue
Block a user