import Control.Exception
import Control.Monad
-import Control.Monad.Base (liftBase)
-import Data.ByteString (ByteString)
-import qualified Data.ByteString.Char8 as BSC
-import Database.Postgres.Temp as Temp
-import Squeal.PostgreSQL
-import System.Environment (lookupEnv)
+import Control.Monad.Base (liftBase)
+import Data.ByteString (ByteString)
+import qualified Data.ByteString.Char8 as BSC
+import Database.Postgres.Temp as Temp
+import Squeal.PostgreSQL (Connection,
+ Indexed, IsoQ, K,
+ Migration,
+ Migratory, PQ,
+ Path, Pool,
+ createConnectionPool,
+ destroyConnectionPool,
+ migrateDown,
+ migrateUp,
+ usingConnectionPool,
+ withConnection)
+import Squeal.PostgreSQL.Session.Transaction.Unsafe (transactionally_)
+import System.Environment (lookupEnv)
import Test.Hspec
data TestDB a = TestDB
# using the same syntax as the packages field.
# (e.g., acme-missiles-0.3)
extra-deps:
- - git: https://github.com/morphismtech/squeal
- commit: 7557c2ddd32430ed82937a7864e5879b1ac77513
- subdirs:
- - squeal-postgresql
+ - squeal-postgresql-0.9.0.0
# Override default flag values for local packages and extra-deps
# flags: {}