diff options
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 |
