altered cards table rarity column to be integer instead of string