release: v3.1.0

This commit is contained in:
aslost
2026-08-15 23:41:36 +08:00
parent 98968add7e
commit f11c6ab7bf
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -837,7 +837,7 @@ defineOptions({
name: 'sys-setting'
})
const currentVersion = 'v3.0.0'
const currentVersion = 'v3.1.0'
const hasUpdate = ref(false)
let getUpdateErrorCount = 1;
const {t, locale} = useI18n();
+1 -1
View File
@@ -36,7 +36,7 @@ const dbInit = {
async v3_1DB(c) {
try {
await c.env.db.prepare(`ALTER TABLE setting ADD COLUMN sync_delete INTEGER NOT NULL DEFAULT 1;`).run();
await c.env.db.prepare(`ALTER TABLE setting ADD COLUMN sync_delete INTEGER NOT NULL DEFAULT 0;`).run();
} catch (e) {
console.warn(`跳过字段:${e.message}`);
}