diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2018-08-07 23:27:22 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2018-08-07 23:27:22 +0100 |
commit | f089aaf1b66309756d3ee0e44cab30e17139b71a (patch) | |
tree | b9c85d7efab539505faa6847fa5bfd0229ad2217 /Makefile | |
parent | b79648e0304dc5eb49b2f6f007e7ef750d729390 (diff) |
Add a tool to create empty migrations
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -29,8 +29,12 @@ cashierd: generate clean: rm -f cashier cashierd +# usage: make migration name=whatever +migration: + go run ./generate/migration/migration.go $(name) + dep: go get -u github.com/golang/lint/golint go get -u golang.org/x/tools/cmd/goimports -.PHONY: all build dep generate test cashier cashierd clean +.PHONY: all build dep generate test cashier cashierd clean migration |