Files
cloudron-box/migrations/20230329084726-apps-add-enableRedis.js
Girish Ramakrishnan 00767d583c Add the migration for optional addons
the implementation will come in the next patch release.
2023-03-29 10:48:01 +02:00

11 lines
250 B
JavaScript

'use strict';
exports.up = async function(db) {
await db.runSql('ALTER TABLE apps ADD COLUMN enableRedis BOOLEAN DEFAULT 1');
};
exports.down = async function(db, callback) {
await db.runSql('ALTER TABLE apps DROP COLUMN enableRedis');
};