# Functions
Actions creates an Action with a single body func that executes all the variadic argument actions serially.
Always always runs a step.
ColumnExists returns a guard that ensures a column exists.
ColumnExistsInSchema returns a guard that ensures a column exists.
ColumnNotExists returns a guard that ensures a column does not exist.
ColumnNotExistsInSchema returns a guard that ensures a column does not exist.
ConstraintExists returns a guard that ensures a constraint exists.
ConstraintExistsInSchema returns a guard that ensures a constraint exists.
ConstraintNotExists returns a guard that ensures a constraint does not exist.
ConstraintNotExistsInSchema returns a guard that ensures a constraint does not exist.
Exec creates an Action that will run a statement with a given set of arguments.
GetContextLabels gets a group from a context as a value.
GetContextSuite gets a suite from a context as a value.
Guard returns a function that determines if a step in a group should run.
IfExists only runs the statement if the given item exists.
IfNotExists only runs the statement if the given item doesn't exist.
IndexExists returns a guard that ensures an index exists.
IndexExistsInSchema returns a guard that ensures an index exists.
IndexNotExists returns a guard that ensures an index does not exist.
IndexNotExistsInSchema returns a guard that ensures an index does not exist.
New returns a new suite of groups.
NewEvent returns a new event.
NewGroup creates a new Group from a given list of actionable.
NewGroupWithAction returns a new group with a single action.
NewStatsEvent returns a new stats event.
NewStep returns a new Step, given a GuardFunc and an Action.
NewWithActions returns a new suite, with a new group, made up of given actions.
NoOp performs no action.
Not inverts the output of a predicate.
OptGroupActions allows you to add actions to the NewGroup.
OptGroups allows you to add groups to the Suite.
OptGroupSkipTransaction will allow this group to be run outside of a transaction.
OptGroupTx sets a transaction on the group.
OptLog allows you to add a logger to the Suite.
PredicateAny returns if a statement has results.
PredicateColumnExists returns if a column exists on a table in the default schema of the given connection.
PredicateColumnExistsInSchema returns if a column exists on a table in a specific schema on the given connection.
PredicateConstraintExists returns if a constraint exists on a table in the default schema of the given connection.
PredicateConstraintExistsInSchema returns if a constraint exists on a table in a specific schema on the given connection.
PredicateIndexExists returns if a index exists on a table in the default schema of the given connection.
PredicateIndexExistsInSchema returns if a index exists on a table in a specific schema on the given connection.
PredicateNone returns if a statement doesnt have results.
PredicateRoleExists returns if a role exists or not.
PredicateSchemaExists returns if a schema exists or not.
PredicateTableExists returns if a table exists in the default schema of the given connection.
PredicateTableExistsInSchema returns if a table exists in a specific schema on the given connection.
RoleExists returns a guard that ensures a role (user) exists.
RoleNotExists returns a guard that ensures a role (user) does not exist.
SchemaExists is a guard function for asserting that a schema exists.
SchemaNotExists is a guard function for asserting that a schema does not exist.
Statements returns a body func that executes the statments serially.
TableExists returns a guard that ensures a table exists.
TableExistsInSchema returns a guard that ensures a table exists.
TableNotExists returns a guard that ensures a table does not exist.
TableNotExistsInSchema returns a guard that ensures a table exists.
WithLabel adds a label to the context.
WithSuite adds a suite as a value to a context.
# Constants
Flag is a logger event flag.
FlagStats is a logger event flag.
Migration Stats.
Migration Stats.
Migration Stats.
Migration Stats.
# Structs
Event is a migration logger event.
Group is an series of migration actions.
StatsEvent is a migration logger event.
Step is a guarded action.
Suite is a migration suite.
# Interfaces
Action is a type that represents a migration action.
# Type aliases
ActionFunc is a function that can be run during a migration step.
GroupOption is an option for migration Groups (Group).
GuardFunc is a control for migration steps.
GuardPredicateFunc is a function that can act as a guard.
SuiteOption is an option for migration Suites.