@@ -143,11 +143,8 @@ module Squeal.PostgreSQL.Migration
143 , Terminally (..)
143 , Terminally (..)
144 , terminally
144 , terminally
145 , pureMigration
145 , pureMigration
146− -- * Migrations table
147 , MigrationsTable
146 , MigrationsTable
149 , defaultMain
147 , defaultMain
150− , MigrateCommand (..)
153import Control.Category
150import Control.Category
@@ -386,6 +383,8 @@ data MigrateCommand
386 | MigrateUp
383 | MigrateUp
387 | MigrateDown deriving (GHC.Generic, Show)
384 | MigrateDown deriving (GHC.Generic, Show)
386+{- | `defaultMain` creates a simple executable
387+from a connection string and a list of `Migration`s. -}
389defaultMain
388defaultMain
390 :: Migratory p
389 :: Migratory p
391 => ByteString
390 => ByteString