aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Squeal/PostgreSQL
diff options
context:
space:
mode:
Diffstat (limited to 'src/Squeal/PostgreSQL')
-rw-r--r--src/Squeal/PostgreSQL/Hspec.hs23
1 files changed, 17 insertions, 6 deletions
diff --git a/src/Squeal/PostgreSQL/Hspec.hs b/src/Squeal/PostgreSQL/Hspec.hs
index c0a04e9..1dd0a20 100644
--- a/src/Squeal/PostgreSQL/Hspec.hs
+++ b/src/Squeal/PostgreSQL/Hspec.hs
@@ -19,12 +19,23 @@ where
19 19
20import Control.Exception 20import Control.Exception
21import Control.Monad 21import Control.Monad
22import Control.Monad.Base (liftBase) 22import Control.Monad.Base (liftBase)
23import Data.ByteString (ByteString) 23import Data.ByteString (ByteString)
24import qualified Data.ByteString.Char8 as BSC 24import qualified Data.ByteString.Char8 as BSC
25import Database.Postgres.Temp as Temp 25import Database.Postgres.Temp as Temp
26import Squeal.PostgreSQL 26import Squeal.PostgreSQL (Connection,
27import System.Environment (lookupEnv) 27 Indexed, IsoQ, K,
28 Migration,
29 Migratory, PQ,
30 Path, Pool,
31 createConnectionPool,
32 destroyConnectionPool,
33 migrateDown,
34 migrateUp,
35 usingConnectionPool,
36 withConnection)
37import Squeal.PostgreSQL.Session.Transaction.Unsafe (transactionally_)
38import System.Environment (lookupEnv)
28import Test.Hspec 39import Test.Hspec
29 40
30data TestDB a = TestDB 41data TestDB a = TestDB