diff --git a/Mage.Common/src/main/java/mage/utils/MageVersion.java b/Mage.Common/src/main/java/mage/utils/MageVersion.java index 26802409ef04..6995bdef5452 100644 --- a/Mage.Common/src/main/java/mage/utils/MageVersion.java +++ b/Mage.Common/src/main/java/mage/utils/MageVersion.java @@ -41,7 +41,7 @@ public class MageVersion implements Serializable, Comparable { public final static int MAGE_VERSION_MAJOR = 1; public final static int MAGE_VERSION_MINOR = 4; public final static int MAGE_VERSION_PATCH = 29; - public final static String MAGE_VERSION_MINOR_PATCH = "V4"; + public final static String MAGE_VERSION_MINOR_PATCH = "V5"; public final static String MAGE_VERSION_INFO = ""; private final int major; diff --git a/Mage.Server/config/config.xml b/Mage.Server/config/config.xml index 898e9475b489..01a851308469 100644 --- a/Mage.Server/config/config.xml +++ b/Mage.Server/config/config.xml @@ -1,187 +1,186 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Mage.Server/release/config/config.xml b/Mage.Server/release/config/config.xml index 153d1f24f3e8..8a09e760ba9e 100644 --- a/Mage.Server/release/config/config.xml +++ b/Mage.Server/release/config/config.xml @@ -142,10 +142,13 @@ - - + + + + + diff --git a/Mage/src/main/java/mage/cards/repository/CardRepository.java b/Mage/src/main/java/mage/cards/repository/CardRepository.java index 39201d4a6d9f..8f3a18fcfc77 100644 --- a/Mage/src/main/java/mage/cards/repository/CardRepository.java +++ b/Mage/src/main/java/mage/cards/repository/CardRepository.java @@ -58,7 +58,7 @@ public enum CardRepository { // raise this if db structure was changed private static final long CARD_DB_VERSION = 51; // raise this if new cards were added to the server - private static final long CARD_CONTENT_VERSION = 109; + private static final long CARD_CONTENT_VERSION = 110; private Dao cardDao; private Set classNames; diff --git a/Mage/src/main/java/mage/cards/repository/ExpansionRepository.java b/Mage/src/main/java/mage/cards/repository/ExpansionRepository.java index 6df02be31ef8..a8fd506d91cb 100644 --- a/Mage/src/main/java/mage/cards/repository/ExpansionRepository.java +++ b/Mage/src/main/java/mage/cards/repository/ExpansionRepository.java @@ -29,7 +29,7 @@ public enum ExpansionRepository { private static final String JDBC_URL = "jdbc:h2:file:./db/cards.h2;AUTO_SERVER=TRUE"; private static final String VERSION_ENTITY_NAME = "expansion"; private static final long EXPANSION_DB_VERSION = 5; - private static final long EXPANSION_CONTENT_VERSION = 14; + private static final long EXPANSION_CONTENT_VERSION = 15; private Dao expansionDao; @@ -88,10 +88,10 @@ public ExpansionInfo[] getWithBoostersSortedByReleaseDate() { try { // only with boosters and cards GenericRawResults setsList = expansionDao.queryRaw( - "select * from expansion e " + - " where e.boosters = 1 " + - " and exists(select (1) from card c where c.setcode = e.code) " + - " order by e.releasedate desc", + "select * from expansion e " + + " where e.boosters = 1 " + + " and exists(select (1) from card c where c.setcode = e.code) " + + " order by e.releasedate desc", expansionDao.getRawRowMapper()); List resList = new ArrayList<>();