How to properly do foreign keys in schema with PlanetScale?
I'm aware that foreign key constrains aren't supported, but foreign keys themselves are.
push:
2 Replies
Hey Murad around 4mins50sec this subject is discussed: https://www.youtube.com/watch?v=d7XJjQesDtE&ab_channel=DaveGray
Dave Gray
YouTube
Build a Random Quote Machine with Nextjs, PlanetScale MySQL, & Driz...
Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap
Build a random quote machine with Nextjs, PlanetScale MySQL, & Drizzle ORM. In this tutorial, we'll set up a MySQL database on PlanetScale, connect to and query the database with Drizzle ORM, and build a Next.js frontend and API routes.
š© Subscribe ā https://bit.ly/3n...
Operating without foreign key constraints ā PlanetScale Documentati...
How to manage your relational data without formal foreign key constraints in your schema