JDaDev
JDaDev
DTDrizzle Team
Created by JDaDev on 4/3/2024 in #help
relation 'users' does not exist
@⚡Z.E.U.S⚡ Hello:, here it is:
import { defineConfig } from "drizzle-kit"

export default defineConfig({
schema: "./db/schema.ts",
out: "./db/migrations",
driver: "pg",
dbCredentials: {
database: process.env.DATABASE_NAME as string,
host: process.env.DATABASE_HOST as string,
port: process.env.DATABASE_PORT as any,
user: process.env.DATABASE_USER as string,
password: process.env.DATABASE_PASSWORD as string
},
verbose: true,
strict: true,
})
import { defineConfig } from "drizzle-kit"

export default defineConfig({
schema: "./db/schema.ts",
out: "./db/migrations",
driver: "pg",
dbCredentials: {
database: process.env.DATABASE_NAME as string,
host: process.env.DATABASE_HOST as string,
port: process.env.DATABASE_PORT as any,
user: process.env.DATABASE_USER as string,
password: process.env.DATABASE_PASSWORD as string
},
verbose: true,
strict: true,
})
3 replies