set last synced push to avoid full sync after DB upgrade

This commit is contained in:
azivner 2017-12-14 23:38:03 -05:00
parent 6e783f4686
commit 206a6dd6e7
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
UPDATE options SET opt_value = (SELECT MAX(id) FROM sync) WHERE opt_name = 'last_synced_push';

View file

@ -3,7 +3,7 @@
const build = require('./build');
const packageJson = require('../package');
const APP_DB_VERSION = 54;
const APP_DB_VERSION = 55;
module.exports = {
app_version: packageJson.version,