Skip to content

Commit

Permalink
[makefile] Makefile の db コマンドから db にアクセスできる (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
kotto5 authored Feb 26, 2024
1 parent 9a1d8c0 commit 626fe64
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,9 @@ check: fmt lint
update:
docker compose -f compose.yml -f compose.dev.yml run frontend npx npm-check-updates -i
docker compose -f compose.yml -f compose.dev.yml run backend yarn upgrade-interactive

POSTGRES_USER = postgres
POSTGRES_DB = postgres

db:
docker compose exec db psql -U $(POSTGRES_USER) $(POSTGRES_DB)

0 comments on commit 626fe64

Please sign in to comment.