//
pkg.gl
Category
github.com/mattes/migrate
database
package
3.0.1+incompatible
Repository:
https://github.com/mattes/migrate.git
Documentation:
pkg.go.dev
Versions
1
Dependencies
5
Dependents
249
Files
110 SLOC
#
Packages
mysql
postgres
ql
redshift
stub
testing
Package testing has the database tests.
#
Functions
GenerateAdvisoryLockId
inspired by rails migrations, see https://goo.gl/8o9bCT.
Open
Open returns a new driver instance.
Register
Register globally registers a driver.
#
Constants
NilVersion
#
Variables
ErrLocked
#
Structs
Error
Error should be used for errors involving queries ran against the database.
#
Interfaces
Driver
Driver is the interface every database driver must implement.