HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulepostgresql-migration-0.2.1.8Haskell2010

Database.PostgreSQL.Simple.Migration

A migration library for postgresql-simple.

For usage, see Readme.markdown.

Contents
  1. Migration actions
  2. Migration types
  3. Migration result actions
  4. Migration result types
Synopsis

Migration actions

Migration types

MigrationCommand determines the action of the runMigration script.

Constructors

Instances6Eq, Ord, Read, Show, Semigroup, Monoid
datadata MigrationResult a

A sum-type denoting the result of a migration.

Constructors

Instances7Functor, Foldable, Traversable, Eq, Ord, Read, …
typetype ScriptName = String

The name of a script. Typically the filename or a custom name when using Haskell migrations.

Determines how transactions are handled. It is recommened to use transaction when running migrations. Certain actions require a transaction per script, if you are doing this use TransactionPerStep. If you want a single transaction for all migrations use TransactionPerRun. If you do not want a transaction, or are using an existing transaction then use NoNewTransaction.

Constructors

Instances1Show
datadata Verbosity
#
Instances2Eq, Show
  • Eq VerbosityDefined in postgresql-migration-0.2.1.8 · Database.PostgreSQL.Simple.Migration
  • Show VerbosityDefined in postgresql-migration-0.2.1.8 · Database.PostgreSQL.Simple.Migration

Migration result actions

Migration result types

A product type representing a single, executed SchemaMigration.

Constructors

Instances6Eq, Ord, Read, Show, FromRow, ToRow
  • Eq SchemaMigrationDefined in postgresql-migration-0.2.1.8 · Database.PostgreSQL.Simple.Migration
  • Ord SchemaMigrationDefined in postgresql-migration-0.2.1.8 · Database.PostgreSQL.Simple.Migration
  • Read SchemaMigrationDefined in postgresql-migration-0.2.1.8 · Database.PostgreSQL.Simple.Migration
  • Show SchemaMigrationDefined in postgresql-migration-0.2.1.8 · Database.PostgreSQL.Simple.Migration
  • FromRow SchemaMigrationDefined in postgresql-migration-0.2.1.8 · Database.PostgreSQL.Simple.Migration
  • ToRow SchemaMigrationDefined in postgresql-migration-0.2.1.8 · Database.PostgreSQL.Simple.Migration