Foreign key constraints are now generally available
Feb 16, 2024Taylor Barnett, Rick Branson

Summary
This post announces the general availability of foreign key constraints for unsharded PlanetScale databases. It explains how to enable them through database settings and highlights their role in enforcing referential integrity. The post also differentiates foreign key constraints from foreign keys and discusses the trade-offs, including potential performance impacts and complexity, referencing previous technical challenges and documentation.