lib/db: Move database schema migration into its own file (#4985)

This commit is contained in:
Simon Frei
2018-06-08 12:46:00 +02:00
committed by Jakob Borg
parent 4781e1d86f
commit 30056cd1ae
4 changed files with 156 additions and 148 deletions

View File

@@ -13,8 +13,6 @@ import (
"github.com/syncthing/syncthing/lib/protocol"
)
const dbVersion = 3
const (
KeyTypeDevice = iota
KeyTypeGlobal