1
0
Fork 0
mirror of https://codeberg.org/MarkusThielker/next-ory.git synced 2025-07-01 20:49:18 +00:00

NORY-41: add basic drizzle configuration

This commit is contained in:
Markus Thielker 2025-01-04 10:17:34 +01:00
parent 70e376615d
commit a60800ad01
No known key found for this signature in database
5 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,14 @@
'use server';
import 'dotenv/config';
import { defineConfig } from 'drizzle-kit';
export default defineConfig({
out: './drizzle',
schema: './src/db/schema.ts',
dialect: 'postgresql',
dbCredentials: {
url: process.env.DATABASE_URL!,
},
});