{-# LANGUAGE EmptyDataDecls             #-}
{-# LANGUAGE FlexibleContexts           #-}
{-# LANGUAGE GADTs                      #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase                 #-}
{-# LANGUAGE MultiParamTypeClasses      #-}
{-# LANGUAGE OverloadedStrings          #-}
{-# LANGUAGE QuasiQuotes                #-}
{-# LANGUAGE TemplateHaskell            #-}
{-# LANGUAGE TypeFamilies               #-}
module FreeTracker.Database
  ( module FreeTracker.Database
  , IssueFieldType (..)
  ) where

import qualified Data.Text               as T
import           Data.Time.Clock
import           Database.Persist.TH
import           FreeTracker.Database.TH
import           TH.RelativePaths

-- load schema
mkPersist sqlSettings $(pathRelativeToCabalPackage "src/FreeTracker/Database/Schema.pqq" >>= persistFile)
