cms.c2sgmbh/scripts
Martin Porwoll 9e433315e5 feat: add automatic schema sync to deployment workflow
- Add drizzle.production.config.ts for schema synchronization
- Add scripts/sync-schema.sh for manual schema sync
- Update deploy-production.sh to run drizzle-kit push after migrations
- Document schema sync workflow in DEPLOYMENT_STRATEGY.md
- Update CLAUDE.md with schema sync commands

This prevents schema drift between DEV and PROD by automatically
syncing the database schema (especially payload_locked_documents_rels)
during deployment.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 20:17:47 +00:00
..
backup feat: add automated PostgreSQL backup system with S3 offsite storage 2025-12-11 14:10:39 +00:00
check-framework-updates.sh chore: code cleanup, TypeScript fixes, and dependency updates 2025-12-15 09:02:58 +00:00
db-direct.sh feat: add Products and ProductCategories collections with CI/CD pipeline 2025-12-12 21:36:26 +00:00
deploy-production.sh feat: add automatic schema sync to deployment workflow 2025-12-27 20:17:47 +00:00
deploy-staging.sh feat: add staging deployment workflow and script 2025-12-14 12:37:25 +00:00
detect-secrets.sh feat: add Products and ProductCategories collections with CI/CD pipeline 2025-12-12 21:36:26 +00:00
run-queue-worker.ts feat: implement data retention system 2025-12-15 23:17:31 +00:00
seed-content.ts test: add E2E and integration tests with documentation 2025-12-01 08:19:52 +00:00
seed-pages-only.ts test: add E2E and integration tests with documentation 2025-12-01 08:19:52 +00:00
setup-swap-proxmox.sh docs: add staging deployment guide and swap setup script 2025-12-14 15:19:59 +00:00
sync-schema.sh feat: add automatic schema sync to deployment workflow 2025-12-27 20:17:47 +00:00