mirror of
https://github.com/zadam/trilium.git
synced 2025-01-30 10:57:51 +08:00
set last synced push to avoid full sync after DB upgrade
This commit is contained in:
parent
6e783f4686
commit
206a6dd6e7
2 changed files with 2 additions and 1 deletions
1
migrations/0055__set_last_synced_push.sql
Normal file
1
migrations/0055__set_last_synced_push.sql
Normal file
|
@ -0,0 +1 @@
|
||||||
|
UPDATE options SET opt_value = (SELECT MAX(id) FROM sync) WHERE opt_name = 'last_synced_push';
|
|
@ -3,7 +3,7 @@
|
||||||
const build = require('./build');
|
const build = require('./build');
|
||||||
const packageJson = require('../package');
|
const packageJson = require('../package');
|
||||||
|
|
||||||
const APP_DB_VERSION = 54;
|
const APP_DB_VERSION = 55;
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
app_version: packageJson.version,
|
app_version: packageJson.version,
|
||||||
|
|
Loading…
Reference in a new issue