Quantcast

Revert default db version as current version.

Peter Eliasson [08-07-16 - 14:20]
Revert default db version as current version.

Doing so might mean we do not actually store the current version to the
db, which would mean that the default version is always used. In turn
leading to no migrations running. Oops.
Filename
src/main.lua
diff --git a/src/main.lua b/src/main.lua
index c2f1faa..79a8124 100644
--- a/src/main.lua
+++ b/src/main.lua
@@ -52,7 +52,7 @@ addon.dbDefaults = {
 	realm = {
 		modules = {},
 		options = {},
-		dbVersion = addon.dbVersion
+		dbVersion = 1
 	},
 }