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

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

No files matched your search

-3
View File
@@ -751,9 +751,6 @@ func syncthingMain(runtimeOptions RuntimeOptions) {
miscDB.PutString("prevVersion", Version)
}
// Potential database transitions
ldb.UpdateSchema()
m := model.NewModel(cfg, myID, "syncthing", Version, ldb, protectedFiles)
if t := os.Getenv("STDEADLOCKTIMEOUT"); t != "" {