IkiTg07
IkiTg07
Explore posts from servers
DTDrizzle Team
Created by IkiTg07 on 9/6/2024 in #help
Weir bug image on db:push
Hey sorry didn't get any notification. HEre's the config file
import { defineConfig } from "drizzle-kit";

if (!process.env.DATABASE_URL) {
throw new Error("DATABASE_URL is not set");
}

export default defineConfig({
schema: "./lib/db/schema.ts",
out: "./drizzle",
dialect: "postgresql",
dbCredentials: {
url: process.env.DATABASE_URL,
},
verbose: true,
strict: true,
});
import { defineConfig } from "drizzle-kit";

if (!process.env.DATABASE_URL) {
throw new Error("DATABASE_URL is not set");
}

export default defineConfig({
schema: "./lib/db/schema.ts",
out: "./drizzle",
dialect: "postgresql",
dbCredentials: {
url: process.env.DATABASE_URL,
},
verbose: true,
strict: true,
});
3 replies
DTDrizzle Team
Created by IkiTg07 on 9/21/2023 in #help
Findfirst and Findmany config
Oh got it thanks
4 replies