Home / Companies / PlanetScale / Blog / Post Details
Content Deep Dive

Announcing foreign key constraints support

Blog post from PlanetScale

Post Details
Company
Date Published
Author
Taylor Barnett
Word Count
490
Company Posts That Month
5
Language
English
Hacker News Points
10
Post removed?
No
Summary

You can now use foreign key constraints in PlanetScale databases, allowing for more flexibility and integrity in your data models without requiring reworking existing applications or frameworks. This feature is available in beta on a per-database level for all unsharded databases, with sharded database support planned for next year. With the introduction of foreign key constraints, developers can now use PlanetScale out of the box with their favorite ORM or framework that uses foreign key constraints by default, without needing to make changes. Additionally, users can import existing MySQL or MariaDB databases with foreign key constraints into PlanetScale using a database import tool, and test the feature with various popular ORMs and frameworks.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.