gomig

command module
v0.0.0-...-d2e1011 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: MIT Imports: 19 Imported by: 0

README

Golang Migration

Install
go get -u github.com/zevst/gomig
How to use it?
make build
bin/gomig --help
How does GoMig read files?
.
├── migrations
│   └── database
│       ├── timestamp_description.down.sql
│       └── timestamp_description.up.sql
ENVs
  • GOMIG_CONFIG_TYPE: type of config
  • GOMIG_CONFIG_PATH: directory with configurations
  • GOMIG_CONFIG_NAME: main config
  • GOMIG_CONFIG_FILE_PATH: environment config
  • GOMIG_DIR: directory with migrations
  • GOMIG_MIGRATION_TABLE_PREFIX: migrations table name prefix

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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