🔧 chore(auth): improve migration safety and docker setup

- Add safe-db-push.mjs script for safer database migrations
- Update docker-entrypoint.sh with db:push fallback when migrations fail
- Add validate-migrations.mjs script for CI migration validation
- Update CI workflow to use migration validation
- Update drizzle.config.ts with improved configuration
This commit is contained in:
Wuesteon 2025-12-19 02:18:31 +01:00
parent 319ccd1a46
commit 9e771c9ae2
7 changed files with 353 additions and 5 deletions

View file

@ -72,6 +72,9 @@ jobs:
- name: Type check
run: pnpm run type-check
- name: Validate migrations (no destructive changes)
run: node scripts/validate-migrations.mjs
- name: Lint
run: pnpm run lint || echo "Lint warnings found"