package
0.3.0
Repository: https://github.com/acronis/go-dbkit.git
Documentation: pkg.go.dev

# Functions

NewCustomMigration creates simplified but customizable migration.
NewMigrationsManager creates a new MigrationsManager.
NewMigrationsManagerWithOpts creates a new MigrationsManager with custom options.

# Constants

Directions of database migrations.
Directions of database migrations.
MigrationsNoLimit contains a special value that will not limit the number of migrations to apply.
MigrationsTableName contains name of table in a database that stores applied migrations.

# Structs

AppliedMigration represent a single already applied migration.
CustomMigration represents simplified but customizable migration.
MigrationsManager is an object for running migrations.
MigrationsManagerOpts holds the Migration Manager options to be used in NewMigrationsManagerWithOpts.
MigrationStatus is the migration status.
NullMigration represents an empty basic migration that may be embedded in regular migrations in order to write less code for satisfying the Migration interface.

# Interfaces

Migration is an interface for all database migrations.
RawMigrator is an interface which allows overwrite default generate mechanism for full control on migrations.
TxDisabler is an interface for Migration for controlling transaction.

# Type aliases

MigrationsDirection defines possible values for direction of database migrations.