Fix `migration` target

This commit is contained in:
Deluan 2020-08-19 11:18:30 -04:00
parent f3d8222ddb
commit 608129963f
1 changed files with 2 additions and 2 deletions

View File

@ -38,8 +38,8 @@ update-snapshots: check_go_env
.PHONY: update-snapshots
migration:
@if [ -z "${name}" ]; then echo "Usage: make create-migration name=name_of_migration_file"; exit 1; fi
goose -dir db/migration create ${name}
@if [ -z "${name}" ]; then echo "Usage: make migration name=name_of_migration_file"; exit 1; fi
goose -dir db/migrations create ${name}
.PHONY: migration
setup: