Skip to content

Commit

Permalink
[109] Change condition
Browse files Browse the repository at this point in the history
  • Loading branch information
carryall committed Oct 23, 2023
1 parent 2cf02a4 commit 1183eb4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions {{cookiecutter.app_name}}/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ env-teardown:

db/migrate:
make wait-for-postgres
ifneq ("$(wildcard $(database/migrations/.keep))","")
goose -dir database/migrations -table "migration_versions" postgres "$(DATABASE_URL)" up
ifeq ("$(wildcard $(database/migrations/.keep))","")
$(info NO migration files to run)
else
$(info NO migration files to run)
goose -dir database/migrations -table "migration_versions" postgres "$(DATABASE_URL)" up
endif

db/rollback:
Expand Down

0 comments on commit 1183eb4

Please sign in to comment.