mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:41:09 +02:00
🔧 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:
parent
319ccd1a46
commit
9e771c9ae2
7 changed files with 353 additions and 5 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue