package
3.5.4+incompatible
Repository: https://github.com/golang-migrate/migrate.git
Documentation: pkg.go.dev

# README

cockroachdb

cockroachdb://user:password@host:port/dbname?query (cockroach://, and crdb-postgres:// work, too)

URL QueryWithInstance ConfigDescription
x-migrations-tableMigrationsTableName of the migrations table
x-lock-tableLockTableName of the table which maintains the migration lock
x-force-lockForceLockForce lock acquisition to fix faulty migrations which may not have released the schema lock (Boolean, default is false)
dbnameDatabaseNameThe name of the database to connect to
userThe user to sign in as
passwordThe user's password
hostThe host to connect to. Values that start with / are for unix domain sockets. (default is localhost)
portThe port to bind to. (default is 5432)
connect_timeoutMaximum wait for connection, in seconds. Zero or not specified means wait indefinitely.
sslcertCert file location. The file must contain PEM encoded data.
sslkeyKey file location. The file must contain PEM encoded data.
sslrootcertThe location of the root certificate file. The file must contain PEM encoded data.
sslmodeWhether or not to use SSL (disable|require|verify-ca|verify-full)

# Functions

No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author