{-# LANGUAGE TemplateHaskell, KindSignatures, TypeFamilies, FlexibleContexts, GADTs #-} module Model where import Prelude import Yesod import Data.Text (Text) import Database.Persist.Quasi import Data.Time.Calendar (Day) import Data.Time.Clock (UTCTime) share [mkPersist sqlOnlySettings, mkMigrate "migrateAll"] $(persistFileWith lowerCaseSettings "config/models")