Files
cloudron-box/migrations/20241210192343-backups-add-appConfig.js
Girish Ramakrishnan 41bc08a07e backup: move appConfig to backups table
this is useful for clone also to copy notes, operators, checklist
of the time when the backup was made (as opposed to current)

at this point, it's not clear why we need a archives table. it's
an optimization to not have to store icon for every backup.
2024-12-10 21:04:37 +01:00

10 lines
238 B
JavaScript

'use strict';
exports.up = async function (db) {
await db.runSql('ALTER TABLE backups ADD COLUMN appConfigJson TEXT');
};
exports.down = async function (db) {
await db.runSql('ALTER TABLE backups DROP COLUMN appConfigJson');
};