Add inv table, add primary keys for decks table