Safe Haskell | None |
---|---|
Language | Haskell2010 |
Database.Mallard.Postgre
Documentation
class HasPostgreConnection a where Source #
Minimal complete definition
Methods
postgreConnection :: Lens' a Pool Source #
data DigestMismatchException Source #
Constructors
DigestMismatchException | |
ensureMigratonSchema :: (MonadIO m, MonadState s m, HasPostgreConnection s) => m () Source #
getAppliedMigrations :: (MonadIO m, MonadState s m, HasPostgreConnection s) => m MigrationTable Source #
applyMigration :: (MonadIO m, MonadState s m, HasPostgreConnection s) => Migration -> m () Source #
applyMigrations :: (MonadIO m, MonadState s m, HasPostgreConnection s) => [Migration] -> m () Source #
runTests :: (MonadIO m, MonadState s m, HasPostgreConnection s) => [Test] -> m () Source #
runTest :: (MonadIO m, MonadState s m, HasPostgreConnection s) => Test -> m () Source #