HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulepostgresql-migration-0.2.1.8Haskell2010

Database.PostgreSQL.Simple.Migration

A migration library for postgresql-simple.

For usage, see Readme.markdown.

  • 8 types
  • 6 values

Migration actions

4 declarations

Migration types

7 declarations
datadata MigrationCommand
#

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.

datadata TransactionControl
#

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

2 declarations

Migration result types

1 declaration
datadata SchemaMigration
#

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