commit
ef577da95c
@ -835,7 +835,7 @@ run_worker :: RunDbMonad m => SqlPersistT (C.ResourceT m) a -> m a
|
|||||||
run_worker act =
|
run_worker act =
|
||||||
C.runResourceT .
|
C.runResourceT .
|
||||||
#if defined(WITH_POSTGRESQL)
|
#if defined(WITH_POSTGRESQL)
|
||||||
withPostgresqlConn "host=localhost port=5432 user=joao dbname=esqueleto" .
|
withPostgresqlConn "host=localhost port=5432 user=test dbname=test" .
|
||||||
#elif defined (WITH_MYSQL)
|
#elif defined (WITH_MYSQL)
|
||||||
withMySQLConn defaultConnectInfo
|
withMySQLConn defaultConnectInfo
|
||||||
{ connectHost = "localhost"
|
{ connectHost = "localhost"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user