feat: add drizzle schema for user_settings
This commit is contained in:
parent
bd26ba77e6
commit
cf790c60df
8 changed files with 108 additions and 1 deletions
9
drizzle.config.ts
Normal file
9
drizzle.config.ts
Normal 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 ?? '' },
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue