Run migrations automatically on server startup
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
8079dab3a4
commit
48f9322f61
1 changed files with 4 additions and 0 deletions
|
|
@ -2,4 +2,8 @@
|
|||
set -eu
|
||||
|
||||
cd -P -- "$(dirname -- "$0")"
|
||||
|
||||
# Run migrations before starting the server
|
||||
./localspot eval Localspot.Release.migrate
|
||||
|
||||
PHX_SERVER=true exec ./localspot start
|
||||
|
|
|
|||
Loading…
Reference in a new issue