Branch from another branch

branches

// what it does

By default new branches fork from the database's default branch (usually main); --from picks a different parent. Use it for stacked schema work — a follow-up change built on a branch that hasn't deployed yet.

// shell

$ pscale branch create mydb add-users-index --from add-users-table

// gotcha

Deep branch stacks get confusing fast in deploy requests: each DR diffs against its parent, so deploy from the bottom of the stack upward or the diffs won't be what you expect.

// resources