cleanup of options

This commit is contained in:
azivner 2017-10-23 23:41:43 -04:00
parent 10b94f3a7d
commit f089a0d7c3
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
DELETE FROM options WHERE opt_name IN ('is_readonly', 'prop_modified', 'doc_title', 'doc_UID', 'format_version', 'flask_secret_key')

View file

@ -2,7 +2,7 @@ const backup = require('./backup');
const sql = require('./sql'); const sql = require('./sql');
const fs = require('fs-extra'); const fs = require('fs-extra');
const APP_DB_VERSION = 4; const APP_DB_VERSION = 5;
const MIGRATIONS_DIR = "./migrations"; const MIGRATIONS_DIR = "./migrations";
async function migrate() { async function migrate() {