feat: add drizzle schema for user_settings

This commit is contained in:
devilreef 2026-04-29 12:14:17 +06:00
parent bd26ba77e6
commit cf790c60df
Signed by: devilreef
SSH key fingerprint: SHA256:UZisRr4iuXx+IhkbZnR655L2RWAT6o2rgbGv5F/6m3Y
8 changed files with 108 additions and 1 deletions

9
drizzle.config.ts Normal file
View file

@ -0,0 +1,9 @@
import process from 'node:process'
import { defineConfig } from 'drizzle-kit'
export default defineConfig({
schema: './src/db/schema.ts',
out: './src/db/migrations',
dialect: 'postgresql',
dbCredentials: { url: process.env.DATABASE_URL ?? '' },
})