From 3e626eacb2ee17289c99b8bcbd4a4506986a8db0 Mon Sep 17 00:00:00 2001
From: Luca Moser <moser.luca@gmail.com>
Date: Wed, 1 Jul 2020 15:28:41 +0200
Subject: [PATCH] bumps network and database versions (#610)

---
 plugins/autopeering/autopeering.go | 2 +-
 plugins/database/versioning.go     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/autopeering/autopeering.go b/plugins/autopeering/autopeering.go
index 4b3707cc..49a78a06 100644
--- a/plugins/autopeering/autopeering.go
+++ b/plugins/autopeering/autopeering.go
@@ -25,7 +25,7 @@ import (
 // autopeering constants
 const (
 	ProtocolVersion = 0 // update on protocol changes
-	NetworkVersion  = 2 // update on network changes
+	NetworkVersion  = 3 // update on network changes
 )
 
 var (
diff --git a/plugins/database/versioning.go b/plugins/database/versioning.go
index 0b62a5bf..68b367b2 100644
--- a/plugins/database/versioning.go
+++ b/plugins/database/versioning.go
@@ -10,7 +10,7 @@ import (
 const (
 	// DBVersion defines the version of the database schema this version of GoShimmer supports.
 	// Every time there's a breaking change regarding the stored data, this version flag should be adjusted.
-	DBVersion = 3
+	DBVersion = 4
 )
 
 var (
-- 
GitLab