aaa
This commit is contained in:
15
drizzle.config.ts
Normal file
15
drizzle.config.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import type { Config } from "drizzle-kit";
|
||||
|
||||
export default {
|
||||
schema: "./src/lib/db/schema.ts",
|
||||
out: "./db/migrations",
|
||||
dialect: "postgresql",
|
||||
dbCredentials: {
|
||||
host: process.env.PGHOST ?? "",
|
||||
user: process.env.PGUSER ?? "",
|
||||
password: process.env.PGPASSWORD ?? "",
|
||||
database: process.env.PGDATABASE ?? "",
|
||||
port: process.env.PGPORT ? Number(process.env.PGPORT) : 5432,
|
||||
ssl: false,
|
||||
},
|
||||
} satisfies Config;
|
||||
Reference in New Issue
Block a user