managarten/services/mana-core-auth/src
Wuesteon 8af01724d7 feat(db): add production-safe migration system with advisory locks
- Add migrate.ts script with PostgreSQL advisory locks to prevent concurrent migrations
- Add retry logic with exponential backoff for transient connection errors
- Update CI/CD workflows to run migrations before deployment with health polling
- Create comprehensive DATABASE_MIGRATIONS.md documentation covering:
  - Drizzle ORM internals (push vs generate/migrate modes)
  - Migration tracking (journal files, __drizzle_migrations table)
  - Advisory lock architecture and timeout handling
  - Zero-downtime migration patterns (expand-contract)
  - Troubleshooting guide
- Update .claude/guidelines/database.md with migration quick reference
- Remove stale migration files that caused schema conflicts
2025-12-09 02:13:11 +01:00
..
__tests__/utils Fix wrong type 2025-12-04 23:25:25 +01:00
ai 🐛 fix(auth): remove type-only import of ConfigService in AiService 2025-12-04 19:08:37 +01:00
auth ♻️ refactor: migrate manacore-web from Supabase to mana-core-auth 2025-12-08 17:04:35 +01:00
common debug(auth): add detailed logging to JwtAuthGuard 2025-12-08 22:52:59 +01:00
config 🔀 merge: auth/complete branch with Better Auth implementation 2025-12-01 15:25:38 +01:00
credits Fix wrong type 2025-12-04 23:25:25 +01:00
db feat(db): add production-safe migration system with advisory locks 2025-12-09 02:13:11 +01:00
feedback Fix wrong type 2025-12-04 23:25:25 +01:00
health fix route 2025-12-05 00:50:23 +01:00
referrals feat(auth): add fraud detection, cron jobs, and admin endpoints to referral system 2025-12-07 16:09:39 +01:00
settings Fix wrong type 2025-12-04 23:25:25 +01:00
app.module.ts feat(auth): add fraud detection, cron jobs, and admin endpoints to referral system 2025-12-07 16:09:39 +01:00
main.ts fix(mana-core-auth): configure helmet for cross-origin requests 2025-12-05 15:30:12 +01:00