aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/database')
-rw-r--r--src/org/traccar/database/DataManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java
index 92f19b903..8b1ff2c2e 100644
--- a/src/org/traccar/database/DataManager.java
+++ b/src/org/traccar/database/DataManager.java
@@ -139,7 +139,7 @@ public class DataManager {
public void initDatabaseSchema() throws SQLException {
- if (Boolean.valueOf(properties.getProperty("web.new"))) {
+ if (!Boolean.valueOf(properties.getProperty("web.old"))) {
Connection connection = dataSource.getConnection();
ResultSet result = connection.getMetaData().getTables(