Touch ups

This commit is contained in:
Natsumi
2025-01-22 07:39:23 +13:00
parent 0acfe17811
commit 27fe20548b
4 changed files with 39 additions and 21 deletions

View File

@@ -2710,7 +2710,7 @@ class Database {
const columnExists = dbRow.some((row) => row.name === 'time');
if (!columnExists) {
sqliteService.executeNonQuery(
`ALTER TABLE ${Database.userPrefix}_avatar_history ADD COLUMN 'time' INTEGER DEFAULT 0;`
`ALTER TABLE ${Database.userPrefix}_avatar_history ADD time INTEGER DEFAULT 0`
);
}
}, `PRAGMA table_info(${Database.userPrefix}_avatar_history);`);