syntax error and generateId when using postgresql

Hi, I'm trying to generate a custom id in a postgres db, but there is an error when I try to use the syntax needed to add the generateId,

when using:
database: new Pool({
connectionString: ""
})

everything works correctly

but when i try to use
database: {db: new Pool({
connectionString: "postgres://"
}),
generateId:false
}

The connection fails, TypeError: Cannot read properties of undefined (reading 'getTables') will be generated

I attach screenshots that I made with neon, the db that was used for testing has already been deleted so there is no problem with the credentials that are seen in the screensho
Screenshot_from_2024-10-18_23-32-13.png
Screenshot_from_2024-10-18_23-30-26.png
Was this page helpful?