-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | PostgreSQL Schema Management -- -- Please see README.md @package postgresql-schema @version 0.1.8 -- | Functions for working with PostgreSQL migrations. module Database.PostgreSQL.Schema -- | Add a DDL migration file to a migrations directory. Fails if migration -- file or migrations directory do not exist. add :: FilePath -> FilePath -> FilePath -> Sh () -- | Apply bootstrap migrations to a database. Checks if a database has -- been previously bootstrapped, and applies all bootstrap migrations if -- it has not been previously bootstrapped. Applies all bootstrap -- migrations that have not been applied yet and records their -- application. bootstrap :: FilePath -> Text -> Text -> Text -> Sh () -- | Apply migrations to a database. Applies all migrations that have not -- been applied yet and records their application. converge :: Bool -> FilePath -> Text -> Text -> Text -> Sh ()