diff options
author | Antoine Vandecreme <antoine.vandecreme@fretlink.com> | 2022-05-16 16:45:44 +0200 |
---|---|---|
committer | Antoine Vandecreme <antoine.vandecreme@fretlink.com> | 2022-05-16 16:45:44 +0200 |
commit | bcc400aeda7d831c4a1028548e7c8be3d876a73a (patch) | |
tree | 4db7210ca6ebdf0b05872d069d6dc6b927b0f6d6 /src | |
parent | 964cc463b021d55ddfb4627a68ee2fe3f8988aee (diff) | |
download | squeal-hspec-bcc400aeda7d831c4a1028548e7c8be3d876a73a.tar.gz squeal-hspec-bcc400aeda7d831c4a1028548e7c8be3d876a73a.tar.zst squeal-hspec-bcc400aeda7d831c4a1028548e7c8be3d876a73a.zip |
Bump squeal to 0.9.0.0
Diffstat (limited to 'src')
-rw-r--r-- | src/Squeal/PostgreSQL/Hspec.hs | 23 |
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 | ||
20 | import Control.Exception | 20 | import Control.Exception |
21 | import Control.Monad | 21 | import Control.Monad |
22 | import Control.Monad.Base (liftBase) | 22 | import Control.Monad.Base (liftBase) |
23 | import Data.ByteString (ByteString) | 23 | import Data.ByteString (ByteString) |
24 | import qualified Data.ByteString.Char8 as BSC | 24 | import qualified Data.ByteString.Char8 as BSC |
25 | import Database.Postgres.Temp as Temp | 25 | import Database.Postgres.Temp as Temp |
26 | import Squeal.PostgreSQL | 26 | import Squeal.PostgreSQL (Connection, |
27 | import 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) | ||
37 | import Squeal.PostgreSQL.Session.Transaction.Unsafe (transactionally_) | ||
38 | import System.Environment (lookupEnv) | ||
28 | import Test.Hspec | 39 | import Test.Hspec |
29 | 40 | ||
30 | data TestDB a = TestDB | 41 | data TestDB a = TestDB |