Files
cloudron-box/migrations/20191002103646-fix-demo-settings-boolean.js

11 lines
313 B
JavaScript
Raw Normal View History

2019-10-02 12:58:32 +02:00
'use strict';
exports.up = function(db, callback) {
2019-10-02 18:39:06 +02:00
// 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);
2019-10-02 12:58:32 +02:00
};
exports.down = function(db, callback) {
callback();
};