Files
cloudron-box/migrations/20191002103646-fix-demo-settings-boolean.js
2019-10-02 18:39:06 +02:00

11 lines
313 B
JavaScript

'use strict';
exports.up = function(db, callback) {
// We clear all demo state in the Cloudron...the demo cloudron needs manual intervention afterwards
db.runSql('REPLACE INTO settings (name, value) VALUES(?, ?)', [ 'demo', '' ], callback);
};
exports.down = function(db, callback) {
callback();
};