From a6e096bbac16cc51dbf2d5417e90b7efd03a3b7d Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 7 Jul 2014 10:45:04 -0400 Subject: [PATCH] Fix Game/SportInfo table names. Bump to v0.0.7. --- htsn-import.cabal | 2 +- src/TSN/XML/GameInfo.hs | 1 + src/TSN/XML/SportInfo.hs | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/htsn-import.cabal b/htsn-import.cabal index e8b799e..70cc826 100644 --- a/htsn-import.cabal +++ b/htsn-import.cabal @@ -1,5 +1,5 @@ name: htsn-import -version: 0.0.6 +version: 0.0.7 cabal-version: >= 1.8 author: Michael Orlitzky maintainer: Michael Orlitzky diff --git a/src/TSN/XML/GameInfo.hs b/src/TSN/XML/GameInfo.hs index 4f264bb..b7c4c5b 100644 --- a/src/TSN/XML/GameInfo.hs +++ b/src/TSN/XML/GameInfo.hs @@ -123,6 +123,7 @@ instance DbImport GameInfo where -- mkPersist defaultCodegenConfig [groundhog| - entity: GameInfo + dbName: game_info constructors: - name: GameInfo uniques: diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index a9e1f1a..187796c 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -236,6 +236,7 @@ instance DbImport SportInfo where -- mkPersist defaultCodegenConfig [groundhog| - entity: SportInfo + dbName: sport_info constructors: - name: SportInfo uniques: -- 2.43.2