惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

IT之家
IT之家
Recent Announcements
Recent Announcements
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The GitHub Blog
The GitHub Blog
MyScale Blog
MyScale Blog
爱范儿
爱范儿
GbyAI
GbyAI
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
美团技术团队
Y
Y Combinator Blog
博客园 - 叶小钗
Apple Machine Learning Research
Apple Machine Learning Research
Martin Fowler
Martin Fowler
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
罗磊的独立博客
M
MIT News - Artificial intelligence
博客园 - Franky
V
Visual Studio Blog
I
InfoQ
V
V2EX
Hugging Face - Blog
Hugging Face - Blog
腾讯CDC
博客园 - 司徒正美
L
LangChain Blog

Changelog — PlanetScale

Replica connections graph — PlanetScale Branch start maintenance webhook now available for Vitess enterprise customers — PlanetScale Deploy request UI updates — PlanetScale PostgreSQL CPU and I/O tracking — PlanetScale Branch start maintenance webhook — PlanetScale Cloudflare Workers integration — PlanetScale PlanetScale for Postgres is now Generally Available — PlanetScale PostgreSQL Schema Recommendations — PlanetScale Postgres maintenance windows — PlanetScale Support for 10 new Postgres extensions — PlanetScale 2025 PCI DSS reporting now available — PlanetScale AWS PrivateLink for Postgres — PlanetScale Google Cloud Provider support for Postgres databases — PlanetScale Insights: percent runtime — PlanetScale New region: AWS ca-central-1 (Montreal) — PlanetScale Postgres event triggers are now supported — PlanetScale New Postgres extension: pg_squeeze — PlanetScale Provisioned IOPS display for Metal clusters — PlanetScale Insights: max query latency graphs — PlanetScale Pinned databases update — PlanetScale New Postgres extensions: pg_cron and pg_partman_bgw — PlanetScale pscale shell now supports Postgres databases — PlanetScale Migration guides for Aurora, Neon, and Supabase — PlanetScale New pscale role commands for CLI — PlanetScale Postgres migration guides and scripts — PlanetScale Postgres role management — PlanetScale Expanded Postgres network-attached storage I/O configuration — PlanetScale 2025 SOC 1 Type 2 & SOC 2 Type 2 reports now available — PlanetScale Prometheus Metrics Additions: vstreamer events and errors — PlanetScale Postgres network-attached storage configuration — PlanetScale
Foreign key constraints are now generally available — Pla...
2024-02-16 · via Changelog — PlanetScale

To enable foreign key constraints in any unsharded PlanetScale database, go to your database’s ”Settings” page and check the box to Allow foreign key constraints.

On the database’s ”Dashboard” page, you will see a loading spinner that says it is “Enabling foreign key constraints.” Once it no longer shows, you can use foreign key constraints in your PlanetScale database!

For most cases, foreign key constraints should work as expected in PlanetScale. There are a few cases to be aware of that are unsupported or result in less ideal behavior. You can read more in the limitations section of the foreign key constraints documentation.

If you don't have an existing PlanetScale database and have an existing internet-accessible MySQL or MariaDB databases that use foreign key constraints, you can also import it into PlanetScale using our database import tool.

Read more