You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current documentation on the Drizzle ORM website provides an incorrect example for defining composite primary keys for postgreSQL using the primaryKey operator. Specifically, the example adds the primaryKey definitions inside an object with keys pk and pkWithCustomName, which does not align with the correct syntax.
The current example may mislead developers into defining composite primary keys incorrectly, resulting in potential runtime errors or unexpected behavior when working with Drizzle ORM.
The text was updated successfully, but these errors were encountered:
The current documentation on the Drizzle ORM website provides an incorrect example for defining composite primary keys for
postgreSQL
using the primaryKey operator. Specifically, the example adds the primaryKey definitions inside an object with keys pk and pkWithCustomName, which does not align with the correct syntax.Current Example:
Expected Example (Correct):
The current example may mislead developers into defining composite primary keys incorrectly, resulting in potential runtime errors or unexpected behavior when working with Drizzle ORM.
The text was updated successfully, but these errors were encountered: