cms.c2sgmbh/drizzle.ci.config.ts
Martin Porwoll 34077c280e fix(ci): use drizzle-kit push instead of migrations
- Drop and recreate schema using drizzle-kit push
- Add drizzle.ci.config.ts for CI database setup
- This ensures the generated schema is used directly

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-16 15:36:03 +00:00

10 lines
304 B
TypeScript

import { defineConfig } from 'drizzle-kit'
export default defineConfig({
schema: './src/payload-generated-schema.ts',
out: './drizzle',
dialect: 'postgresql',
dbCredentials: {
url: process.env.DATABASE_URI || 'postgresql://payload:payload_test_password@localhost:5432/payload_test',
},
})