Run migrations automatically on server startup
All checks were successful
CI - Test, Build, and Push / test (push) Successful in 2m43s
CI - Test, Build, and Push / build-and-push (push) Successful in 15s

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Kevin Sivic 2025-12-01 14:22:38 -05:00
parent 8079dab3a4
commit 48f9322f61

View file

@ -2,4 +2,8 @@
set -eu set -eu
cd -P -- "$(dirname -- "$0")" cd -P -- "$(dirname -- "$0")"
# Run migrations before starting the server
./localspot eval Localspot.Release.migrate
PHX_SERVER=true exec ./localspot start PHX_SERVER=true exec ./localspot start