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

11 lines
238 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');
};
2023-04-04 15:38:45 +02:00
exports.down = async function(db) {
2023-03-29 10:47:55 +02:00
await db.runSql('ALTER TABLE apps DROP COLUMN enableTurn');
};