Getting Started
Make sure to first set up your PlanetScale developer environment. Once you’ve installed thepscale CLI, you can interact with PlanetScale and manage your databases straight from the command line.
The workflow command
This command allows you to create and manage workflows for Vitess databases, including creating workflows, listing them, and performing actions like traffic switching and cutover. This command is not supported for Postgres databases.
The
create sub-command is for table movement workflows only (moving tables between keyspaces). Database import workflows must be created through the PlanetScale dashboard. Once created, all other sub-commands (list, show, switch-traffic, verify-data, complete, cancel, etc.) work with both workflow types.
