migrator

command module
v0.21.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

README

Migrator

Database migration tool using dbmate. Created to be used in the Kubernetes context as a tool to run in an init container to migrate schema files before the actual applications starts. Note: Only works with postgresql at the moment.

Configure using environment variables:

Name Description
MIGRATOR_DB_ADDR Address of the database e.g mypghost:5432
MIGRATOR_DB_USER User to access the database
MIGRATOR_DB_PASS Password to access the database
MIGRATOR_DB Database to use
MIGRATOR_SSL_MODE Whether SSL should be enabled or disabled. Choose between disable and enable.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL