wine-shop/drizzle.config.ts

13 lines
274 B
TypeScript
Raw Normal View History

2024-05-23 04:47:36 +00:00
import { type Config } from "drizzle-kit";
2024-05-23 04:47:50 +00:00
import "./src/server/db/envConfig"
2024-05-23 04:47:36 +00:00
export default {
schema: "./src/server/db/schema.ts",
dialect: "postgresql",
dbCredentials: {
2024-05-23 04:47:50 +00:00
url: process.env.POSTGRES_URL!,
2024-05-23 04:47:36 +00:00
},
tablesFilter: ["wine-shop_*"],
} satisfies Config;