create table if not exists games ( gamePk integer, teamId text, state text, unique (teamId, gamePk) on conflict replace );