Black Panther
DTDrizzle Team
•Created by Singodimejo on 8/16/2024 in #help
problems with config file dialect for PostgreSQL
My schemas folder is empty but even changing it to schema.ts (which is an empty file) doesn't fix the error
18 replies
DTDrizzle Team
•Created by Singodimejo on 8/16/2024 in #help
problems with config file dialect for PostgreSQL
Still not fixed for me and getting same error
"drizzle-orm": "^0.33.0",
"drizzle-kit": "^0.24.0",
import { defineConfig } from 'drizzle-kit';
export default defineConfig({
schema: './src/db/schema/*',
out: './drizzle',
verbose: true,
strict: true,
introspect: {
casing: 'preserve',
},
dialect: 'postgresql',
dbCredentials: {
user: 'postgres',
password: 'root',
host: '127.0.0.1',
port: 5432,
database: 'property',
},
});
18 replies