deckard

command module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 20, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

README

Deckard

A framework agnostic tool for running database migrations.
Usage
deckard create add_login_date_to_users
# modify the created files
deckard up --host=localhost --port=5432 --user=user --password=pass --database=app
deckard down --host=localhost --port=5432 --user=user --password=pass --database=app
Managing your databases via YAML config.

Deckard also supports managing your databases via YAML. Instead of writing

deckard up --host=localhost --port=5432 --user=user --password=pass --database=app

You can simply write

deckard up --key=prod

when you have a a .deckard.yml in your home directory. In this instance, your YAML should look like this:

prod:
    host: localhost
    port: 5432
    user: user
    password: pass
    database: app

Alternatively, you can provide deckard the path to the configuration value you want to use.

deckard up --config=/usr/app/deckard.yml --key=prod

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