archives: use separate table

Cleaner to separate things from the backups table.

* icon, appConfig, appStoreIcon etc are only valid for archives
* older version cloudron does not have appConfig in backups table (so it
  cannot be an archive entry)
This commit is contained in:
Girish Ramakrishnan
2024-12-10 10:06:52 +01:00
parent 2ad93c114e
commit 490840b71d
12 changed files with 261 additions and 122 deletions
-4
View File
@@ -31,8 +31,6 @@ describe('backups', function () {
format: 'tgz',
preserveSecs: 0,
label: '',
archive: false,
appConfig: null
};
const appBackup = {
@@ -48,8 +46,6 @@ describe('backups', function () {
format: 'tgz',
preserveSecs: 0,
label: '',
archive: false,
appConfig: null
};
describe('crud', function () {