package
3.2.0+incompatible
Repository: https://github.com/geniusmonkey/gander.git
Documentation: pkg.go.dev

# Functions

AddMigration adds a migration.
AddNamedMigration : Add a named migration.
No description provided by the author
CollectMigrations returns all the valid looking migration scripts in the migrations folder and go func registry, and key them by version.
Create writes a new blank migration file.
Create writes a new blank migration file.
Down rolls back a single migration from the current version.
DownTo rolls back migrations to a specific version.
EnsureDBVersion retrieves the current version for this DB.
No description provided by the author
GetDBVersion is an alias for EnsureDBVersion, but returns -1 in error.
GetDialect gets the SQLDialect.
NumericComponent looks for migration scripts with names in the form: XXX_descriptivename.ext where XXX specifies the version number and ext specifies the type of migration.
Redo rolls back the most recently applied migration, then runs it again.
Reset rolls back all migrations.
SetDialect sets the SQLDialect.
SetTableName set goose db version table name.
Status prints the status of all migrations.
TableName returns goose db version table name.
Up applies all available migrations.
UpByOne migrates up by a single version.
UpTo migrates up to a specific version.
Version prints the current version of the database.

# Variables

ErrNoCurrentVersion when a current migration version is not found.
ErrNoNextVersion when the next migration version is not found.
No description provided by the author
max(int64).
No description provided by the author

# Structs

No description provided by the author
Migration struct.
MigrationRecord struct.
MySQLDialect struct.
PostgresDialect struct.
RedshiftDialect struct.
Sqlite3Dialect struct.
TiDBDialect struct.

# Interfaces

SQLDialect abstracts the details of specific SQL dialects for goose's few SQL specific statements.

# Type aliases

Migrations slice.