Enforcing DB level foreign keys

Hey guys, I've read the docs on the relation key word and the docs note that the relations are only on the application level. How can we create foreign key relations via the schema that are enforced on the DB level?
1 Reply
Sillvva
Sillvva2w ago
Drizzle ORM - Indexes & Constraints
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.