mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	Introduced separate sync version (previously DB version was used to check sync compatibility), closes #120
This commit is contained in:
		@@ -4,10 +4,12 @@ const build = require('./build');
 | 
			
		||||
const packageJson = require('../../package');
 | 
			
		||||
 | 
			
		||||
const APP_DB_VERSION = 99;
 | 
			
		||||
const SYNC_VERSION = 1;
 | 
			
		||||
 | 
			
		||||
module.exports = {
 | 
			
		||||
    appVersion: packageJson.version,
 | 
			
		||||
    dbVersion: APP_DB_VERSION,
 | 
			
		||||
    syncVersion: SYNC_VERSION,
 | 
			
		||||
    buildDate: build.buildDate,
 | 
			
		||||
    buildRevision: build.buildRevision
 | 
			
		||||
};
 | 
			
		||||
		Reference in New Issue
	
	Block a user