diff --git a/Helper.hs b/Helper.hs index 2cad529..720a482 100644 --- a/Helper.hs +++ b/Helper.hs @@ -1,7 +1,6 @@ module Helper ( getUserIdFromText , extractKey --- , getUserNameById , fromHex , fromHex' , toHex diff --git a/Model.hs b/Model.hs index e87f53d..b465179 100644 --- a/Model.hs +++ b/Model.hs @@ -11,6 +11,7 @@ import Data.Eq (Eq) import Data.Time (UTCTime) import Data.ByteString import Data.Bool +import Data.Int import Text.Show (Show) import System.FilePath (FilePath) @@ -18,5 +19,5 @@ import System.FilePath (FilePath) -- You can find more information on persistent and how to declare entities -- at: -- http://www.yesodweb.com/book/persistent/ -share [mkPersist sqlOnlySettings, mkMigrate "migrateAll"] +share [mkPersist sqlSettings, mkMigrate "migrateAll"] $(persistFileWith lowerCaseSettings "config/models") diff --git a/eidolon.cabal b/eidolon.cabal index 80dc039..507f364 100644 --- a/eidolon.cabal +++ b/eidolon.cabal @@ -70,7 +70,7 @@ library , yesod-form >= 1.3 , bytestring >= 0.9 , text >= 0.11 - , persistent >= 1.3 + , persistent >= 1.3 && < 2.0.0 , persistent-sqlite >= 1.3 , persistent-template >= 1.3 , template-haskell