# Functions
New returns a new GoMigrate.
# Variables
DefaultConfig can be used if you don't want to think about options.
ErrMigrationIDDoesNotExist is returned when migrating or rolling back to a migration ID that does not exist in the list of migrations.
ErrMissingID is returned when the ID od migration is equal to "".
ErrNoMigrationDefined is returned when no migration is defined.
ErrNoRunMigration is returned when any run migration was found while running RollbackLast.
ErrRollbackImpossible is returned when trying to rollback a migration that has no rollback function.
ErrUnknownPastMigration is returned if a migration exists in the DB that doesn't exist in the code.
# Structs
Config define options for all migrations.
DuplicatedIDError is returned when more than one migration have the same ID.
GoMigrate represents a collection of all migrations of a database schema.
Migration represents a database migration (a modification to be made on the database).
ReservedIDError is returned when a migration is using a reserved ID.
# Type aliases
No description provided by the author
InitSchemaFunc is the func signature for initializing the schema.
No description provided by the author
MigrateFunc is the func signature for migrating.
RollbackFunc is the func signature for rollbacking.