add rake tasks to run for days / games and fix unique constraint handling