Tessera docs

Launch Tessera

Launch

Core concepts

Migrations

How Tessera plans, reviews and applies schema changes without downtime.

Planning a migration

When you change schema.ts, Tessera compares it with the target environment and plans the SQL needed to get there. You always see the plan before anything runs.

npx tessera migrate plan --env staging

Applying a migration

  1. Open a pull request with your schema change.

  2. CI runs tessera migrate plan and posts the plan as a comment.

  3. After merge, run tessera migrate apply --env production or let the deploy hook do it.

Zero-downtime changes

Tessera splits risky changes into safe steps. Adding a notNull column, for example, is applied as add-nullable, backfill, then add the constraint.

Rolling back

Every migration has a generated down step. Run tessera migrate rollback --to <id> to revert to a known point.

Was this helpful?

© 2026 Tessera, Inc.

Support

Status

Create a free website with Framer, the website builder loved by startups, designers and agencies.