package
0.0.0-20210822100304-4e1d4fcc1e67
Repository: https://github.com/xormplus/xorm.git
Documentation: pkg.go.dev

# Functions

New returns a new Gormigrate.

# Variables

DefaultOptions can be used if you don't want to think about options.
ErrMissingID is returned when the ID od migration is equal to "".
ErrNoMigrationDefined is returned when no migration is defined.
ErrNoRunnedMigration is returned when any runned migration was found while running RollbackLast.
ErrRollbackImpossible is returned when trying to rollback a migration that has no rollback function.

# Structs

Migrate represents a collection of all migrations of a database schemas.
Migration represents a database migration (a modification to be made on the database).
Options define options for all migrations.

# Type aliases

InitSchemaFunc is the func signature for initializing the schemas.
MigrateFunc is the func signature for migrating.
RollbackFunc is the func signature for rollbacking.