package
0.0.0-20200106101151-afbb34bb21f3
Repository: https://github.com/4396/goose-tinker.git
Documentation: pkg.go.dev
# Functions
collect all the valid looking migration scripts in the migrations folder, and key them by version.
No description provided by the author
retrieve the current version for this DB.
Update the version table for the given migration, and finalize the transaction.
wrapper for EnsureDBVersion for callers that don't already have their own DB instance.
helper to identify the most recent possible version within a folder of migration scripts.
No description provided by the author
extract configuration details from the given file.
look for migration scripts with names in the form: XXX_descriptivename.ext where XXX specifies the version number and ext specifies the type of migration.
OpenDBFromDBConf wraps database/sql.DB.Open() and configures the newly opened DB based on the given DBConf.
RunGoMigration run a .go migration.
No description provided by the author
Runs migration on a specific database instance.
RunSQLMigration run a migration specified in raw SQL.
SortMigrations sort migrations.
# Variables
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
DBDriver encapsulates the info needed to work with a specific database driver.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
SqlDialect abstracts the details of specific SQL dialects for goose's few SQL specific statements.