Skip to main content

Documentation Index

Fetch the complete documentation index at: https://planetscale.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Overview

PlanetScale validates MySQL schema, Vitess VSchema, and routing rule changes before applying them to a production branch. These checks protect deploy requests and imports from changes that Vitess cannot apply safely or that would make data inaccessible after a merge. When a check fails, PlanetScale returns a schema lint error with an error code, a description, and context such as the keyspace, table, column, VSchema JSON path, or vindex name. Use the error-specific pages below with the exact error description shown in the dashboard or API response.

Error reference

General troubleshooting flow

  1. Read the error description first. It usually names the specific table, column, vindex, JSON path, or routing rule that failed validation.
  2. Fix the schema or VSchema on a development branch.
  3. If the fix depends on another object, such as a referenced table or a sequence table, deploy that dependency first.
  4. Create a new deploy request after the branch schema is valid.
For broader context, see deploy requests, safe migrations, VSchema, and Vindexes.

Need help?

Get help from the PlanetScale Support team, or join our Discord community to see how others are using PlanetScale.