Commit 1d444293 authored by Matt Tucker's avatar Matt Tucker Committed by matt

Don't try to upgrade to older schemas.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@6372 b35dd754-fafc-0310-a699-88a17e54d16e
parent 674f3c33
...@@ -181,7 +181,7 @@ public class SchemaManager { ...@@ -181,7 +181,7 @@ public class SchemaManager {
DbConnectionManager.closeStatement(pstmt); DbConnectionManager.closeStatement(pstmt);
} }
// If already up to date, return. // If already up to date, return.
if (currentVersion == requiredVersion) { if (currentVersion >= requiredVersion) {
return true; return true;
} }
// If the database schema isn't installed at all, we need to install it. // If the database schema isn't installed at all, we need to install it.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment