mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-11 17:26:45 +02:00
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:
1 parent
d8fd97f037
commit
c0ae8f5876
4 files changed
+78
-13
No files matched your search
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user