Pandoks_
Pandoks_
DTDrizzle Team
Created by Pandoks_ on 6/10/2024 in #help
Database with no password
On my local machine for development, i have a psql database with no password. When i do '' for the password for db credentials,
export default defineConfig({
schema: './src/lib/db/schema.ts',
dialect: 'postgresql',
out: './drizzle',
dbCredentials: {
user: DB_USERNAME,
password: DB_PASSWORD,
host: DB_HOST,
port: parseInt(DB_PORT),
database: DB_DATABASE // add SSL when drizzle supports it
},
verbose: true,
strict: true
});
export default defineConfig({
schema: './src/lib/db/schema.ts',
dialect: 'postgresql',
out: './drizzle',
dbCredentials: {
user: DB_USERNAME,
password: DB_PASSWORD,
host: DB_HOST,
port: parseInt(DB_PORT),
database: DB_DATABASE // add SSL when drizzle supports it
},
verbose: true,
strict: true
});
it says that password is required but i have no password
2 replies