migration comment
commita4b6c8e674bc7a019247a735003ec07e33db7ac5
authorEitan Chatav <eitan.chatav@gmail.com>
dateSun 4 Mar 2018, 09:24 (9 years ago)
parentaf26503
squeal-postgresql/src/Squeal/PostgreSQL/Migration.hs+2
@@ -2,6 +2,8 @@ module Squeal.PostgreSQL.Migration where
22
33import Squeal.PostgreSQL.PQ
44
5+-- | A `Migration` is in the isomorphism subcategory
6+-- of the indexed monad `PQ`
57data Migration schema0 schema1 m x = Migration
68 { migrateUp :: PQ schema0 schema1 m x
79 , migrateDown :: PQ schema0 schema1 m x