packages feed

postgresql-schema 0.1.3 → 0.1.4

raw patch · 2 files changed

+7/−2 lines, 2 filesdep ~timePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: time

API changes (from Hackage documentation)

Files

postgresql-schema.cabal view
@@ -1,5 +1,5 @@ name:                  postgresql-schema-version:               0.1.3+version:               0.1.4 synopsis:              PostgreSQL Schema Management description:           Please see README.md homepage:              https://github.com/mfine/postgresql-schema
src/Database/PostgreSQL/Schema.hs view
@@ -85,9 +85,14 @@  -- migrations +ls_f :: FilePath -> Sh [FilePath]+ls_f dir = do+  items <- ls dir+  filterM test_f items+ findMigrations :: FilePath -> Sh [FilePath] findMigrations dir = do-  migrations <- findWhen test_f dir+  migrations <- ls_f dir   forM migrations $ relativeTo dir  migrate :: [FilePath] -> Text -> Text -> Text -> Sh ()