Use this file to discover all available pages before exploring further.
The PlanetScale provider enables you to create and manage MySQL-compatible serverless databases with Git-like branching, zero-downtime migrations, and autoscaling.
PlanetScale’s branching model enables safe schema changes:
// Production databaseconst prod = await Database("prod-db", { name: "production",});// Create a branch for schema changesconst schemaBranch = await Branch("schema-updates", { database: prod, name: "add-user-table", parentBranch: "main",});// After testing, merge via PlanetScale UI or API