Raised card and expansion content version number.

This commit is contained in:
LevelX2 2015-03-11 21:11:21 +01:00
parent 84e2ecb8ef
commit eec5406a00
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@ public enum CardRepository {
// raise this if db structure was changed
private static final long CARD_DB_VERSION = 36;
// raise this if new cards were added to the server
private static final long CARD_CONTENT_VERSION = 5;
private static final long CARD_CONTENT_VERSION = 6;
private final Random random = new Random();
private Dao<CardInfo, Object> cardDao;

View file

@ -24,7 +24,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 = 3;
private static final long EXPANSION_CONTENT_VERSION = 1;
private static final long EXPANSION_CONTENT_VERSION = 2;
private Dao<ExpansionInfo, Object> expansionDao;