just updated drizzle kit and ORM

import '@/drizzle/config' //load env vars
import { defineConfig } from 'drizzle-kit'

export default defineConfig({
  dialect:"postgresql",
  driver:"aws-data-api",
  schema: './drizzle/schema.ts',
  out: './drizzle/migrations',
  dbCredentials: {
   database:process.env.POSTGRES_URL as string
  },
})

what am I doing wrong here??
according to drizzle docs dbCredentials should take a property url but here its saying to pass 3 props databse, secretArn and resourceArn I dont even know what it is. Its an old project I just updated the ORM and getting these errors.
image.png
Solution
removed it and passed the url, its fixed now
Was this page helpful?