]> gitweb.michael.orlitzky.com - dead/htsn-import.git/commitdiff
Rename some unique constraints for consistency.
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 23 Jul 2014 19:26:13 +0000 (15:26 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 23 Jul 2014 19:26:13 +0000 (15:26 -0400)
src/TSN/XML/AutoRacingSchedule.hs
src/TSN/XML/News.hs
src/TSN/XML/Odds.hs

index 69b9b35d4219166c4b33f29fd2f1f4e2ae8106b8..a7d683ae4033c5eaea604cacf210ed074588fb19 100644 (file)
@@ -363,7 +363,7 @@ mkPersist tsn_codegen_config [groundhog|
   constructors:
     - name: AutoRacingSchedule
       uniques:
-        - name: unique_auto_racing_schedule
+        - name: unique_auto_racing_schedules
           type: constraint
           # Prevent multiple imports of the same message.
           fields: [db_xml_file_id]
index 10c51956fa20c23a16ff45b3469bc477aac078a7..513bf5c5764a1839c0140fff8344dbad08af28fe 100644 (file)
@@ -291,7 +291,7 @@ mkPersist defaultCodegenConfig [groundhog|
   constructors:
     - name: NewsTeam
       uniques:
-        - name: unique_news_team
+        - name: unique_news_teams
           type: constraint
           fields: [team_name]
 
index 8e36b3d90153b6d78de5c7ec279648e303ed399f..444371ad1e055a2b723f08071a6dc15e7785b882 100644 (file)
@@ -450,7 +450,7 @@ mkPersist tsn_codegen_config [groundhog|
   constructors:
     - name: OddsCasino
       uniques:
-        - name: unique_odds_casino
+        - name: unique_odds_casinos
           type: constraint
           fields: [casino_client_id]