Files
cloudron-box/migrations/20230318141011-apps-add-enableTurn.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
248 B
JavaScript

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