Created
February 20, 2013 03:51
-
-
Save imeredith/4992724 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Application.hs:49:44: | |
No instance for (Control.Monad.Logger.MonadLogger IO) | |
arising from a use of `runMigration' | |
Possible fix: | |
add an instance declaration for | |
(Control.Monad.Logger.MonadLogger IO) | |
In the second argument of `Database.Persist.Store.runPool', namely | |
`(runMigration migrateAll)' | |
In a stmt of a 'do' block: | |
Database.Persist.Store.runPool dbconf (runMigration migrateAll) p | |
In the expression: | |
do { manager <- newManager def; | |
s <- staticSite; | |
dbconf <- withYamlEnvironment | |
"config/sqlite.yml" (appEnv conf) Database.Persist.Store.loadConfig | |
>>= Database.Persist.Store.applyEnv; | |
p <- Database.Persist.Store.createPoolConfig | |
(dbconf :: PersistConfig); | |
.... } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment