packages feed

sydtest-persistent-sqlite 0.2.0.2 → 0.2.0.3

raw patch · 4 files changed

+19/−3 lines, 4 files

Files

CHANGELOG.md view
@@ -1,5 +1,11 @@ # Changelog +## [0.2.0.3] - 2023-10-09++### Added++* Compatibility with `GHC >= 9.8`.+ ## [0.2.0.2] - 2022-05-05  ### Added
sydtest-persistent-sqlite.cabal view
@@ -1,11 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.34.7.+-- This file has been generated from package.yaml by hpack version 0.35.2. -- -- see: https://github.com/sol/hpack  name:           sydtest-persistent-sqlite-version:        0.2.0.2+version:        0.2.0.3 synopsis:       A persistent-sqlite companion library for sydtest category:       Testing homepage:       https://github.com/NorfairKing/sydtest#readme@@ -19,6 +19,7 @@ extra-source-files:     LICENSE.md     CHANGELOG.md+    test_resources/migration.sql  source-repository head   type: git@@ -56,7 +57,6 @@   build-depends:       base >=4.7 && <5     , persistent-    , persistent-sqlite     , sydtest     , sydtest-persistent-sqlite   default-language: Haskell2010
test/Test/Syd/Persistent/Example.hs view
@@ -11,6 +11,7 @@ {-# LANGUAGE StandaloneDeriving #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE TypeOperators #-} {-# LANGUAGE UndecidableInstances #-} {-# OPTIONS_GHC -fno-warn-name-shadowing #-} 
+ test_resources/migration.sql view
@@ -0,0 +1,9 @@+CREATE TABLE "person"("id" INTEGER PRIMARY KEY,"name" VARCHAR NOT NULL,"age" INTEGER NULL);++-- ATTENTION CODE REVIEWER+-- If this file has been updated, please make sure to check+-- whether this test failed before that happened:+-- "Test.Syd.Persistent.SqliteSpec.persistSqliteSpec.Can automatically migrate from the previous database schema"+-- If this test failed beforehand, but this golden test has+-- been updated anyway, that means the current migration is+-- dangerous with respect to the current database.