时间问题处理

This commit is contained in:
lu7213 committed 2026-11-02 02:20:47 -05:00
1 parent 41190a25ae
commit d910c1afe8
66 files changed
+604 -393

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ SET @rent_history_cleanup_sql = IF(
EXISTS(SELECT 1 FROM information_schema.COLUMNS WHERE TABLE_SCHEMA=DATABASE()
AND TABLE_NAME='rent_history_cursor' AND COLUMN_NAME='cleanup_until'),
'SELECT 1',
'ALTER TABLE rent_history_cursor ADD COLUMN cleanup_until DATETIME(3) NULL COMMENT ''清理租约UTC截止''');
'ALTER TABLE rent_history_cursor ADD COLUMN cleanup_until DATETIME(3) NULL COMMENT ''清理租约服务器本地截止''');
PREPARE rent_history_cleanup_stmt FROM @rent_history_cleanup_sql;
EXECUTE rent_history_cleanup_stmt;
DEALLOCATE PREPARE rent_history_cleanup_stmt;