Files
cloudron-box/migrations/20230318141011-apps-add-enableTurn.js
T

11 lines
248 B
JavaScript
Raw Normal View History

2023-03-29 10:47:55 +02:00
'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');
};