NoBody
DTDrizzle Team
•Created by NoBody on 9/28/2023 in #help
Multiple Schema | is not assignable to type 'PostgresJsDatabase'.
So guys, im trying to move to Drizzle
so, i already have my database on postgres, and pull it to make its migration and schema using drizzle-kit
here's my drizzle.config.ts
import dotenv from "dotenv";
import type { Config } from "drizzle-kit";
dotenv.config();
export default {
schema: "./src/schema/*.ts",
out: "./drizzle",
driver: "pg",
dbCredentials: {
connectionString: process.env.DATABASE_URL ?? "",
},
} satisfies Config;
8 replies