# Functions

ConvertDBError converts sql errors to those defined in this package.
GetDBVersion reads the current version of the database from the migration info table.
GetMaxVersion returns the highest available migration version.
InitInfoTable ensures that the migration information table is created.
Set initialized this package by setting the migrations steps to 'newMigrations' It is mandatory to call this function before using this package.
SetDBVersion attempts to get the database into the specified target version using available migration steps.

# Variables

ErrOldReport is an error returned if a more recent already exists on the storage while attempting to write a report for a cluster.

# Structs

ForeignKeyError something violates foreign key error tableName and foreignKeyName can be empty for DBs not supporting it (SQLite).
Migration type describes a single Migration.
TableAlreadyExistsError represents table already exists error.
TableNotFoundError table not found error.

# Type aliases

No description provided by the author
Step represents an action performed to either increase or decrease the migration version of the database.
No description provided by the author
Version represents a version of the database.