packages feed

dag-migrations-postgresql-simple-0.1.0.0 / dag-migrations-postgresql-simple.cabal

cabal-version:   3.0name:            dag-migrations-postgresql-simpleversion:         0.1.0.0synopsis:        A PostgreSQL adapter for dag-migrationsdescription:  An adapter that runs dag-migrations against PostgreSQL through  postgresql-simple. It keeps the tracking table installed_migrations,  upgrades the table of dbmigrations in place, and holds an advisory lock  for the length of a run. The package includes the guide  <https://github.com/nuttycom/dag-migrations/blob/canon/dag-migrations-postgresql-simple/docs/converting-from-dbmigrations.md docs/converting-from-dbmigrations.md>,  with the steps by which a project moves from dbmigrations. The adapter  needs PostgreSQL 9.6 or later, and is tested on PostgreSQL 13 and later.category:        Databaselicense:         MITlicense-file:    LICENSEauthor:          Kris Nuttycombemaintainer:      Kris Nuttycombe <kris@nutty.land>homepage:        https://github.com/nuttycom/dag-migrationsbug-reports:     https://github.com/nuttycom/dag-migrations/issuesbuild-type:      Simpleextra-doc-files:  CHANGELOG.md  docs/converting-from-dbmigrations.mdtested-with:     GHC ==9.6.* || ==9.8.* || ==9.10.* || ==9.12.*source-repository head  type:     git  location: https://github.com/nuttycom/dag-migrations.git  subdir:   dag-migrations-postgresql-simplecommon language  default-language:   GHC2021  default-extensions: OverloadedStrings  ghc-options:    -Wall -Wcompat -Widentities -Wincomplete-record-updates    -Wincomplete-uni-patterns -Wmissing-export-lists -Wpartial-fields    -Wredundant-constraints -Wunused-packageslibrary  import:          language  hs-source-dirs:  src  exposed-modules:    Database.DagMigrations.PostgreSQL.Simple    Database.DagMigrations.PostgreSQL.SqlText  build-depends:    , base               >=4.18  && <5    , bytestring         >=0.11  && <0.13    , containers         >=0.6   && <0.9    , dag-migrations     ==0.1.*    , postgresql-libpq   >=0.10  && <0.12    -- The adapter uses exec, throwResultError and withConnection from    -- Database.PostgreSQL.Simple.Internal, which does not follow the PVP.    , postgresql-simple  >=0.7   && <0.8    , template-haskell   >=2.20  && <2.24    , text               >=2.0   && <2.2    , transformers       >=0.6   && <0.7test-suite dag-migrations-postgresql-simple-test  import:         language  type:           exitcode-stdio-1.0  hs-source-dirs: test  main-is:        Main.hs  ghc-options:    -threaded  other-modules:    Database.DagMigrations.PostgreSQL.Example    Database.DagMigrations.PostgreSQL.Example.Migration    Database.DagMigrations.PostgreSQL.ExampleSpec    Database.DagMigrations.PostgreSQL.SimpleSpec    Database.DagMigrations.PostgreSQL.SqlTextSpec    Database.DagMigrations.PostgreSQL.TestDatabase  build-depends:    , base    , bytestring    , containers    , dag-migrations    , dag-migrations-conformance    , dag-migrations-postgresql-simple    , hedgehog                    >=1.4  && <1.8    , hspec                       >=2.11 && <2.12    , hspec-hedgehog              >=0.3  && <0.4    , postgresql-simple    , text    , transformers    , unix                        >=2.8  && <2.9