fix: use prisma db push in entrypoint instead of migrate deploy
Some checks failed
Deploy to Production / Build and Deploy (push) Has been cancelled
Some checks failed
Deploy to Production / Build and Deploy (push) Has been cancelled
The app uses db push (no migration files), so migrate deploy was a no-op. Also removes the redundant migration step from deploy.yaml since the entrypoint now handles schema sync on every container start. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -126,9 +126,6 @@ jobs:
|
||||
echo "=== Building ==="
|
||||
docker compose build memento-note
|
||||
|
||||
echo "=== Database migration ==="
|
||||
docker compose run --rm memento-note npx prisma db push --skip-generate
|
||||
|
||||
echo "=== Starting ==="
|
||||
docker compose up -d --remove-orphans
|
||||
docker compose ps
|
||||
|
||||
Reference in New Issue
Block a user