this has many advantages: * easy to deliver the updateInfo via the apps object * after updating, the task can clear it * when apps are deleted, the info is automatically gone otherwise, it's a mess of deps between apps/updater/apptask/rest routes box update info is still in a file
10 lines
239 B
JavaScript
10 lines
239 B
JavaScript
'use strict';
|
|
|
|
exports.up = async function (db) {
|
|
await db.runSql('ALTER TABLE apps ADD COLUMN updateInfoJson TEXT NULL');
|
|
};
|
|
|
|
exports.down = async function (db) {
|
|
await db.runSql('ALTER TABLE apps DROP COLUMN updateInfoJson');
|
|
};
|