From 9518beb285e48c13863e1a91d33af56406d2ec3c Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 21 Jan 2014 21:48:25 -0500 Subject: [PATCH] Fix two typos that broke cascading delete. --- src/TSN/XML/Odds.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TSN/XML/Odds.hs b/src/TSN/XML/Odds.hs index 3fd2906..9cc3818 100644 --- a/src/TSN/XML/Odds.hs +++ b/src/TSN/XML/Odds.hs @@ -480,10 +480,10 @@ mkPersist tsn_codegen_config [groundhog| - name: OddsGameLine fields: - name: ogl_odds_games_id - references: + reference: onDelete: cascade - name: ogl_odds_casinos_id - references: + reference: onDelete: cascade - entity: OddsGame_OddsGameTeam -- 2.44.2