Skip to content

Commit

Permalink
fix: 🐛 entrypoint 内でマイグレーションを行うのをやめた (#564)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikukyugamer committed Jan 19, 2023
1 parent 064820b commit 0d4c791
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ if [ -n "$PORT" ]; then
RAILS_PORT=$PORT
fi

bin/rails db:create
bin/rails db:migrate
bin/rails db:seed
# entrypoint でマイグレーションするのはだめ
# bin/rails db:create
# bin/rails db:migrate
# bin/rails db:seed

rm -f tmp/pids/server.pid

Expand Down

0 comments on commit 0d4c791

Please sign in to comment.