]> gitweb.michael.orlitzky.com - dead/htsn-import.git/commitdiff
Fix the unique auto racing results constraint name.
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 7 Jul 2014 15:12:38 +0000 (11:12 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 7 Jul 2014 15:12:38 +0000 (11:12 -0400)
src/TSN/XML/AutoRacingResults.hs

index f9177258e324921c9414beab15e3f9dd6a49ed3c..e45da708f9d2ba38e4216f33bfa96c0ce130c931 100644 (file)
@@ -382,7 +382,7 @@ mkPersist tsn_codegen_config [groundhog|
   constructors:
     - name: AutoRacingResults
       uniques:
-        - name: unique_auto_racing_schedule
+        - name: unique_auto_racing_results
           type: constraint
           # Prevent multiple imports of the same message.
           fields: [db_xml_file_id]