(Next)Auth.js Drizzle Schema
See https://authjs.dev/getting-started/adapters/drizzle#schemas for the Drizzle Schema provided
I haven't been able to figure out how to get Auth.js schema working with drizzle. I believe the issue is handling the composite primary key
In the example, the accounts, verificationTokens, authenticators primaryKeys are respectively
Does the property name of the primary key matter? In my old drizzle schema, it looked like it was named
I can run
Sorry if this doesn't make any sense, let me know if I can provide more information
Using node-postgress and pg driver, not sure if that matters
I haven't been able to figure out how to get Auth.js schema working with drizzle. I believe the issue is handling the composite primary key
In the example, the accounts, verificationTokens, authenticators primaryKeys are respectively
Does the property name of the primary key matter? In my old drizzle schema, it looked like it was named
compoundKey, while the current documentation uses either pk or pkWithCustomName and the auth.js example is compoundKey, compositePk, and compositePK (is this one a typo?). I can run
drizzle-kit generate and drizzle-kit migrate, while when running drizzle-kit push gives me this error:Sorry if this doesn't make any sense, let me know if I can provide more information
Using node-postgress and pg driver, not sure if that matters

