persistent-migration-0.3.0: Manual migrations for the persistent library
MaintainerBrandon Chinn <brandonchinn178@gmail.com>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Database.Persist.Migration.Postgres

Description

Defines the migration backend for PostgreSQL.

Synopsis

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.