Maintainer | Brandon Chinn <brandonchinn178@gmail.com> |
---|---|
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Defines the migration backend for PostgreSQL.
Synopsis
- backend :: MigrateBackend
- getMigration :: MigrateSettings -> Migration -> SqlPersistT IO [MigrateSql]
- runMigration :: MigrateSettings -> Migration -> SqlPersistT IO ()
Documentation
backend :: MigrateBackend Source #
The migration backend for Postgres.
getMigration :: MigrateSettings -> Migration -> SqlPersistT IO [MigrateSql] Source #
Get a migration with the Postgres backend.
runMigration :: MigrateSettings -> Migration -> SqlPersistT IO () Source #
Run a migration with the Postgres backend.