fix: add missing database alteration step for latest image version

When upgrading to the latest image version, the database alteration command was missing, causing the application to fail due to schema mismatch. This change ensures the database is properly migrated to the latest version during startup.
This commit is contained in:
Fábio Henrique Araújo 2026-04-01 13:19:47 +00:00
parent 968508583d
commit 903837c96a

View file

@ -10,7 +10,7 @@ services:
depends_on:
postgres:
condition: service_healthy
entrypoint: ["sh", "-c", "npm run cli db seed -- --swe && npm start"]
entrypoint: ["sh", "-c", "npm run cli db seed -- --swe && npm run alteration deploy latest && npm start"]
environment:
- SERVICE_URL_LOGTO
- TRUST_PROXY_HEADER=1