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

推荐订阅源

J
Java Code Geeks
Google DeepMind News
Google DeepMind News
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
小众软件
小众软件
Blog — PlanetScale
Blog — PlanetScale
腾讯CDC
A
About on SuperTechFans
Vercel News
Vercel News
I
InfoQ
阮一峰的网络日志
阮一峰的网络日志
月光博客
月光博客
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
人人都是产品经理
人人都是产品经理
S
SegmentFault 最新的问题
V
Visual Studio Blog
T
Tailwind CSS Blog
大猫的无限游戏
大猫的无限游戏
M
MIT News - Artificial intelligence
博客园 - 【当耐特】
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Microsoft Azure Blog
Microsoft Azure Blog
Apple Machine Learning Research
Apple Machine Learning Research
GbyAI
GbyAI
美团技术团队

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