mirror of
https://github.com/zadam/trilium.git
synced 2024-12-26 09:12:08 +08:00
cleanup of options
This commit is contained in:
parent
10b94f3a7d
commit
f089a0d7c3
2 changed files with 2 additions and 1 deletions
1
migrations/0005__cleanup_options.sql
Normal file
1
migrations/0005__cleanup_options.sql
Normal file
|
@ -0,0 +1 @@
|
|||
DELETE FROM options WHERE opt_name IN ('is_readonly', 'prop_modified', 'doc_title', 'doc_UID', 'format_version', 'flask_secret_key')
|
|
@ -2,7 +2,7 @@ const backup = require('./backup');
|
|||
const sql = require('./sql');
|
||||
const fs = require('fs-extra');
|
||||
|
||||
const APP_DB_VERSION = 4;
|
||||
const APP_DB_VERSION = 5;
|
||||
const MIGRATIONS_DIR = "./migrations";
|
||||
|
||||
async function migrate() {
|
||||
|
|
Loading…
Reference in a new issue