on dev help sign in
docs
commitbda4fba03161f16e6c9c7e7b86f60c143eb066bd authorEitan Chatav <eitan@Eitans-MacBook-Pro.local> dateWed 27 Mar 2019, 10:36 (8 years ago) parent9e6f339
1 file changed+2−3
squeal-postgresql/src/Squeal/PostgreSQL/Migration.hs+2−3
squeal-postgresql/src/Squeal/PostgreSQL/Migration.hs+2−3
@@ -143,11 +143,8 @@ module Squeal.PostgreSQL.Migration
143143 , Terminally (..)
144144 , terminally
145145 , pureMigration
146− -- * Migrations table
147146 , MigrationsTable
148− -- * CLI
149147 , defaultMain
150− , MigrateCommand (..)
151148 ) where
152149
153150import Control.Category
@@ -386,6 +383,8 @@ data MigrateCommand
386383 | MigrateUp
387384 | MigrateDown deriving (GHC.Generic, Show)
388385
386+{- | `defaultMain` creates a simple executable
387+from a connection string and a list of `Migration`s. -}
389388defaultMain
390389 :: Migratory p
391390 => ByteString