English for PlanetScale Developers
Learn the English vocabulary for PlanetScale database development: branching, deploy requests, schema changes, and non-blocking migrations explained.
PlanetScale brought a Git-like workflow to database schema management, letting teams branch, test, and merge schema changes the same way they handle application code. This workflow introduces its own vocabulary, and developers need to use it precisely when coordinating schema changes across a team, since imprecise language around branches and deploy requests can lead to confusion about which changes are actually live in production. This post covers the terms you’ll need for clear communication in PlanetScale-based projects.
Key Vocabulary
Database branch — an isolated copy of your database schema (and optionally data) that lets you make and test changes without affecting the production branch. “Create a database branch before adding the new index, so we can verify the query plan before merging.”
Deploy request — PlanetScale’s equivalent of a pull request, used to review and merge a schema change from a development branch into production. “Open a deploy request once you’ve validated the migration on the branch — don’t merge schema changes directly.”
Non-blocking schema change — a migration applied using PlanetScale’s online schema change process, which avoids locking the table and causing downtime during the change. “Because it’s a non-blocking schema change, we can add this column during business hours without an outage.”
Schema diff — the automatically generated comparison between a branch’s schema and the production schema, shown before a deploy request is merged. “Always review the schema diff carefully — it’s easy to accidentally include an unrelated column rename.”
Safe migrations — a PlanetScale setting that blocks certain potentially destructive schema operations, such as dropping a column, unless explicitly overridden. “Keep safe migrations enabled on production branches so a dropped column doesn’t happen by accident.”
Connection pooling — PlanetScale’s built-in mechanism for managing database connections efficiently, particularly important for serverless applications that open many short-lived connections. “Enable connection pooling before deploying to our serverless functions, or we’ll exhaust the connection limit under load.”
Revert — the action of undoing a deployed schema change by deploying its inverse, used when a merged change causes unexpected issues in production. “We had to revert the index addition after it slowed down write throughput more than expected.”
Common Phrases
- “Let’s branch off production before touching the schema — don’t edit the main branch directly.”
- “The deploy request is ready for review; the schema diff only touches the
orderstable.” - “This is a non-blocking change, so we can deploy it without scheduling a maintenance window.”
- “Safe migrations flagged this as destructive — do we actually want to drop that column?”
- “We’re hitting connection limits — let’s confirm pooling is enabled for this branch.”
- “If the new index causes regressions, we can revert the deploy request within minutes.”
Example Sentences
When explaining PlanetScale to a non-technical stakeholder: “PlanetScale lets our engineers test database changes safely in an isolated copy before applying them to the live system, similar to how we review code changes before they go live, which reduces the risk of an outage.”
When filing a support ticket: “A deploy request for a non-blocking column addition has been stuck in the ‘in progress’ state for over twenty minutes on a table with roughly 40 million rows. We’ve attached the deploy request ID and the branch name.”
When discussing architecture in a team meeting: “I’d suggest we require every schema change to go through a database branch and a deploy request, even small ones, so we always have a reviewable diff and a safe path to revert if something goes wrong.”
Professional Tips
- Say “deploy request” rather than “pull request” when specifically discussing schema changes in PlanetScale — using the precise term avoids ambiguity with code review tooling.
- Always mention whether a migration is non-blocking when scheduling it — this determines whether it needs an off-hours maintenance window.
- When something goes wrong after a schema change, say “let’s revert the deploy request” rather than “let’s fix the database” — it is specific and points directly at the recovery mechanism.
- Clarify “branch” in context — team members from a Git background sometimes assume it refers only to code, not the database schema, and this ambiguity can cause miscommunication in mixed discussions.
Practice Exercise
- A teammate unfamiliar with PlanetScale asks how schema changes are reviewed. Write two to three sentences explaining the branch and deploy request workflow.
- Write a one-sentence PR-style description for a deploy request that adds a non-blocking index to the
userstable. - Explain in one sentence why safe migrations matter for a production database.