Update database migration process to ensure schema consistency

Modify Dockerfile and docker-compose.yml to use `npx drizzle-kit push --force` for database migrations, resolving "Can't find meta/_journal.json" errors and ensuring correct schema application.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ae4037a0-2a6f-4530-9bac-79b543286bda
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/397bca8c-984f-43ff-841a-10897aeb8140/ae4037a0-2a6f-4530-9bac-79b543286bda/Yxw6kHP
This commit is contained in:
michaelschal committed 2025-10-01 14:53:14 +00:00
1 parent d8fd97f037
commit c0ae8f5876
4 files changed
+78 -13

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ services:
depends_on:
postgres:
condition: service_healthy
command: sh -c "node dist/migrate.js && npm run start"
command: sh -c "npx drizzle-kit push --force && npm run start"
volumes:
postgres_data: