Going from down to up, we are stopping at prettierrc as far as making sure we have everything configured.
This commit is contained in:
11
drizzle.config.ts
Normal file
11
drizzle.config.ts
Normal file
@ -0,0 +1,11 @@
|
||||
import { type Config } from 'drizzle-kit';
|
||||
|
||||
import { env } from '@/env';
|
||||
|
||||
export default {
|
||||
schema: './src/server/db/schema.ts',
|
||||
dialect: 'postgresql',
|
||||
dbCredentials: {
|
||||
url: `postgresql://${env.DB_USER}:${env.DB_PASSWORD}@${env.DB_HOST}:${env.DB_PORT}/${env.DB_NAME}`,
|
||||
},
|
||||
} satisfies Config;
|
Reference in New Issue
Block a user