Blocks
PlanetScale
Serverless MySQL with branching workflow
Integrate with PlanetScale MySQL to manage databases, create branches for schema changes, handle deploy requests, and scale horizontally. Features Git-like branching for databases with OAuth 2.0 authentication.
Block Preview
PlanetScale
Serverless MySQL with branching workflow
Usage
- Add the block to your workflow and connect it to the upstream step.
- Connect the required credentials or OAuth provider before running.
- Fill in required inputs and optional parameters for the run.
- Run a test execution, inspect outputs, and iterate before deploying.
- Deploy the planetscale block with monitoring enabled in production.
Inputs (UI)
PlanetScale Account
oauth-inputPlaceholder: Select PlanetScale account
Layout: full
Provider: planetscale
Operation
dropdownLayout: full
Options: List Databases, Get Database, Create Database, List Branches
Organization
short-inputPlaceholder: Enter organization name
Layout: full
Database Name
short-inputPlaceholder: Enter database name
Layout: full
Condition: operation = ["get_database","list_branches","create_branch","create_deploy_request","list_deploy_requests","get_connection_strings"]
Branch Name
short-inputPlaceholder: dev, staging, feature-schema
Layout: full
Condition: operation = "create_branch"
Inputs (API)
credential
stringRequired
operation
stringRequired
organization
stringOptional
database
stringOptional
branchName
stringOptional
Outputs
Primary response type:
{
"data": "json"
}