Fix migration target
This commit is contained in:
parent
f3d8222ddb
commit
608129963f
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -38,8 +38,8 @@ update-snapshots: check_go_env
|
||||||
.PHONY: update-snapshots
|
.PHONY: update-snapshots
|
||||||
|
|
||||||
migration:
|
migration:
|
||||||
@if [ -z "${name}" ]; then echo "Usage: make create-migration name=name_of_migration_file"; exit 1; fi
|
@if [ -z "${name}" ]; then echo "Usage: make migration name=name_of_migration_file"; exit 1; fi
|
||||||
goose -dir db/migration create ${name}
|
goose -dir db/migrations create ${name}
|
||||||
.PHONY: migration
|
.PHONY: migration
|
||||||
|
|
||||||
setup:
|
setup:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue