修复切换语言时间格式没有变化
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user