aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorantoine-fl <antoine.vandecreme@fretlink.com>2022-05-18 10:24:53 +0200
committerGitHub <noreply@github.com>2022-05-18 10:24:53 +0200
commita26f935e343d45093bdb668b44f6461cca3e4a54 (patch)
tree4db7210ca6ebdf0b05872d069d6dc6b927b0f6d6
parent964cc463b021d55ddfb4627a68ee2fe3f8988aee (diff)
parentbcc400aeda7d831c4a1028548e7c8be3d876a73a (diff)
downloadsqueal-hspec-a26f935e343d45093bdb668b44f6461cca3e4a54.tar.gz
squeal-hspec-a26f935e343d45093bdb668b44f6461cca3e4a54.tar.zst
squeal-hspec-a26f935e343d45093bdb668b44f6461cca3e4a54.zip
Merge pull request #6 from antoine-fl/bump_squealHEADmaster
Bump squeal to 0.9.0.0
-rw-r--r--src/Squeal/PostgreSQL/Hspec.hs23
-rw-r--r--stack.yaml5
2 files changed, 18 insertions, 10 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
diff --git a/stack.yaml b/stack.yaml
index 6477875..734365b 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -40,10 +40,7 @@ packages:
40# using the same syntax as the packages field. 40# using the same syntax as the packages field.
41# (e.g., acme-missiles-0.3) 41# (e.g., acme-missiles-0.3)
42extra-deps: 42extra-deps:
43 - git: https://github.com/morphismtech/squeal 43 - squeal-postgresql-0.9.0.0
44 commit: 7557c2ddd32430ed82937a7864e5879b1ac77513
45 subdirs:
46 - squeal-postgresql
47 44
48# Override default flag values for local packages and extra-deps 45# Override default flag values for local packages and extra-deps
49# flags: {} 46# flags: {}