Skip to content

Commit

Permalink
Fix database-test-init with --if-exists
Browse files Browse the repository at this point in the history
  • Loading branch information
florimondmanca committed Dec 19, 2023
1 parent 260f671 commit 0b5aa85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ database-migrate: ## Database migrations
npm run migration:migrate

database-test-init: up ## Initialize test database
make compose CMD="exec -T database dropdb permacoop_hotwire_test"
make compose CMD="exec -T database dropdb --if-exists permacoop_hotwire_test"
make compose CMD="exec -T database createdb permacoop_hotwire_test"
make database-migrate DATABASE_NAME=permacoop_hotwire_test
make database-seed DATABASE_NAME=permacoop_hotwire_test
Expand Down

0 comments on commit 0b5aa85

Please sign in to comment.