]> gitweb.michael.orlitzky.com - dead/htsn-import.git/commitdiff
Fix two typos that broke cascading delete.
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 22 Jan 2014 02:48:25 +0000 (21:48 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 22 Jan 2014 02:48:25 +0000 (21:48 -0500)
src/TSN/XML/Odds.hs

index 3fd29068b2ad94638730460877e9dbc53cd718b5..9cc3818f63697ac006be484dcab42f05e9cf5f98 100644 (file)
@@ -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