From bcc400aeda7d831c4a1028548e7c8be3d876a73a Mon Sep 17 00:00:00 2001 From: Antoine Vandecreme Date: Mon, 16 May 2022 16:45:44 +0200 Subject: Bump squeal to 0.9.0.0 --- src/Squeal/PostgreSQL/Hspec.hs | 23 +++++++++++++++++------ stack.yaml | 5 +---- 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 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 diff --git a/stack.yaml b/stack.yaml index 6477875..734365b 100644 --- a/stack.yaml +++ b/stack.yaml @@ -40,10 +40,7 @@ packages: # 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: {} -- cgit v1.2.3