SQLException fixed

ERROR 2017-01-09 15:35:35,693 java.sql.SQLException: Cannot update class mage.cards.repository.ExpansionInfo because it doesn't have an id field =>[main] ExpansionRepository.update
This commit is contained in:
vraskulin 2017-01-09 15:40:20 +03:00
parent 51e5640c8e
commit 33b9ec52b0

View file

@ -16,7 +16,7 @@ public class ExpansionInfo {
@DatabaseField(unique = true)
protected String name;
@DatabaseField(unique = true)
@DatabaseField(id = true,unique = true)
protected String code;
@DatabaseField
protected String blockName;