所以是在熱機的情況下跑
Gea-Suan Lin (@[email protected])
sudo docker compose run --rm -e SKIP_POST_DEPLOYMENT_MIGRATIONS=true website bundle exec rails db:migrate
這個,然後關掉重跑一次:sudo docker compose down; sudo docker compose up -d
Gea-Suan Lin (@[email protected])