added delete_spins_for_schedule to postgres db