go get -u github.com/zevst/gomig
make build
bin/gomig --help
.
├── migrations
│ └── database
│ ├── timestamp_description.down.sql
│ └── timestamp_description.up.sql
- 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