{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeFamilies #-}
--- | Two different XML types have a notion of teams: "TSN.XML.Odds"
--- and "TSN.XML.JFile". And in fact those two types agree on the
--- team id, abbreviation, and name -- at least for the database
--- representation.
+-- | (At least) two different XML types have a notion of teams:
+-- "TSN.XML.Odds" and "TSN.XML.JFile". And in fact those two types
+-- agree on the team id, abbreviation, and name -- at least for the
+-- database representation.
--
-- This module contains a data type for the common database
-- representation.
constructors:
- name: Team
uniques:
- - name: unique_odds_games_team
+ - name: unique_team
type: constraint
fields: [team_id]
|]