Skip to content

Commit

Permalink
Fix migration target
Browse files Browse the repository at this point in the history
  • Loading branch information
deluan committed Aug 19, 2020
1 parent f3d8222 commit 6081299
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6081299

Please sign in to comment.