修复切换语言时间格式没有变化

This commit is contained in:
eoao
2025-09-21 19:26:50 +08:00
parent 6dc126d3b0
commit ea8ad14049
7 changed files with 358 additions and 226 deletions

View File

@@ -26,7 +26,11 @@ const init = {
},
async v1_7DB(c) {
await c.env.db.prepare(`ALTER TABLE setting ADD COLUMN login_domain INTEGER NOT NULL DEFAULT 0;`).run();
try {
await c.env.db.prepare(`ALTER TABLE setting ADD COLUMN login_domain INTEGER NOT NULL DEFAULT 0;`).run();
} catch (e) {
console.error(e.message)
}
},
async v1_6DB(c) {