Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
typeMatchWith :: Monad m => MigrationEffect m => Text -> PgTypeName table -> PgColumns -> Sql -> m TypeStatus Source #
typeMatch :: Monad m => MigrationEffect m => PgComposite -> m TypeStatus Source #
tableMatch :: Monad m => MigrationEffect m => TypeStatus -> PgTable a -> m TypeStatus Source #
matches :: Monad m => MigrationEffect m => TypeStatus -> PgTable from -> m (TypeStatus, Set PgCompName) Source #
runAction :: MigrationEffect m => PgTypeName table -> TypeAction table -> m () Source #
runTypesMigration :: Monad m => MigrationEffect m => Set PgCompName -> Map PgCompName CompAction -> m () Source #
runMigration :: forall mig m. Monad m => MigrationEffect m => CustomMigration m mig => TypeStatus -> PgTableName -> Set PgCompName -> MigrationActions (MigExt mig) -> m () Source #
tryRunMigration :: forall mig m. Monad m => MigrationEffect m => CustomMigration m mig => TypeStatus -> PgTableName -> Set PgCompName -> MigrationActions (MigExt mig) -> m () Source #
autoKeys :: Map PgCompName CompAction -> Set (PgCompName, Bool) Source #
typeKeys :: forall mig m. Applicative m => CustomMigration m mig => MigrationActions (MigExt mig) -> m (Set (PgCompName, Bool)) Source #
collectDirectMatches :: Set (PgCompName, Bool) -> Set PgCompName -> Set PgCompName Source #
matchMessage :: PgTypeName table -> TypeStatus -> Set PgCompName -> Set PgCompName -> Set PgCompName -> Text Source #
runMigrationSteps :: forall m migs a. Monad m => MigrationEffect m => All (CustomMigration m) migs => TypeStatus -> Set PgCompName -> PgTable a -> NP Migration migs -> m (TypeStatus, Set PgCompName) Source #
createAbsent :: Monad m => MigrationEffect m => PgTable a -> TypeStatus -> m () Source #
runMigrations :: forall m migs a. Monad m => MigrationEffect m => All (CustomMigration m) migs => PgTable a -> Migrations m migs -> m () Source #