migrate

command module
v0.0.0-...-7fdc956 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2020 License: MIT Imports: 15 Imported by: 0

README

migrate

script (cli) to migrate dbs

setup

add config.toml with following params:

connectionDeprecatedDB = ".../foodkoop_bk"

connectionDB = ".../bk_dev"

user_states = ["active", "former", "paused"]

transaction_states = ["accepted", "open", "rejected"]

transaction_types = ["payment", "deposit", "correction", "percent19", "percent7", "paymentSepa"]

token = "auth0 user token"

api_base_url = "http://localhost:1316/"

auth0URI = "https://biokiste.eu.auth0.com/"

audience = "https://biokiste.eu.auth0.com/api/v2/"

clientId = "..."

clientSecret = "..."

execute

Comment out optionally RemoveAuthUser, AddUserReq or AddUserTransaction to not perform operation.

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