Skip to content

Commit

Permalink
Wait for connecting DB
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki0920 committed Dec 27, 2021
1 parent 013be7a commit 8c87d4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## db migrate
# NOTE: DBコンテナ起動から3秒待ってから実行
db-migrate:
sleep 3
cd ./infra/migrations
goose mysql "${DSN}" up

0 comments on commit 8c87d4f

Please sign in to comment.