some fixes when to display photo tab

This commit is contained in:
Marek Maslowski
2026-04-05 00:16:43 +02:00
parent c39ae2b965
commit 58b7c2e7ac
2 changed files with 5 additions and 2 deletions

View File

@@ -733,6 +733,9 @@ function runMigrations(db: Database.Database): void {
);
`);
},
() => {
try {db.exec('UPDATE addons SET enabled = 0 WHERE id = memories');} catch (err) {}
}
];
if (currentVersion < migrations.length) {