Fix:Applying backup not properly overwriting existing sqlite file

- Fixed resetting api cache on backup
- Added loading indicator in backups table
- Fixed apply backup api not responding with 200 http status code
- Added additional logging and failsafes
This commit is contained in:
advplyr 2024-03-16 15:12:33 -05:00
parent 88f9533b37
commit a2b2a2d060
5 changed files with 78 additions and 8 deletions

View file

@ -217,7 +217,6 @@ class Database {
async disconnect() {
Logger.info(`[Database] Disconnecting sqlite db`)
await this.sequelize.close()
this.sequelize = null
}
/**