diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2017-06-13 21:45:15 -0400 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2017-06-13 21:45:15 -0400 |
| commit | 665845a7e5050a57e6dee05a3055e2a973e1e108 (patch) | |
| tree | 79fd6ef776b56fd73489deed37ccf2768f128c6f /Makefile | |
| parent | 1d8793f4f84fd5c88dd36eedb83e0c06c24f7477 (diff) | |
| download | lastfm-api-665845a7e5050a57e6dee05a3055e2a973e1e108.tar.gz | |
Migrations
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,5 @@ +DB=sslmode=disable dbname=lastfm + all: kill build start build: @@ -12,3 +14,12 @@ start: watch: watchman-make -p '*.go' 'templates/*.tmpl' -t all + +up: + goose -dir migrations postgres "$(DB)" up + +down: + goose -dir migrations postgres "$(DB)" down + +status: + goose -dir migrations postgres "$(DB)" status |
