From 89a21923a8eb7989eb0703148e485007c3095c97 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Mon, 26 Jan 2015 16:07:51 +0100 Subject: [PATCH] Fixed bug of ExpansionRepository (introduced yesterday). --- Mage/src/mage/cards/repository/ExpansionRepository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage/src/mage/cards/repository/ExpansionRepository.java b/Mage/src/mage/cards/repository/ExpansionRepository.java index 30ff24ecb3..b9d28a623a 100644 --- a/Mage/src/mage/cards/repository/ExpansionRepository.java +++ b/Mage/src/mage/cards/repository/ExpansionRepository.java @@ -35,7 +35,7 @@ public enum ExpansionRepository { } try { ConnectionSource connectionSource = new JdbcConnectionSource(JDBC_URL); - boolean obsolete = RepositoryUtil.isDatabaseObsolete(connectionSource, VERSION_ENTITY_NAME, 0); + boolean obsolete = RepositoryUtil.isDatabaseObsolete(connectionSource, VERSION_ENTITY_NAME, EXPANSION_DB_VERSION); if (obsolete) { TableUtils.dropTable(connectionSource, ExpansionInfo.class, true);