Rollback constraints
The v2.0.0 migrations are forward-only. There is no automatic rollback script. This page documents what you can and cannot undo if you need to revert the upgrade.
For every table that had RLS enabled by the v2.0.0 upgrade:
The v2.0.0 migrations are forward-only. There is no automatic rollback script. This page documents what you can and cannot undo if you need to revert the upgrade.
For every table that had RLS enabled by the v2.0.0 upgrade:
InfoLooking for the conceptual reference (“what is an Organization?”)? See Organizations.
After the v2.0.0 upgrade, every CYPEX deployment starts with a single Default Organization that holds all existing data. This page is the entry point for setting up additional organizations and assigning existing clients / schemas to them.
organization_id column on existing
application-schema tables.organization_id to client application-schema
tables. See Assign clients to organizations
for how to customize and run it.
This migration has failed in the field. Read
Failure modes
before production rollout.This section contains upgrade guides for CYPEX administrators, DBAs, and operations engineers. Use these guides when moving an existing CYPEX deployment from one major version to the next, especially when the upgrade involves schema or permission-model changes.
From v2.0.0 onward, multi-tenant isolation is a database property: PostgreSQL Row-Level Security (RLS) scopes every query. Application-layer filters are not the security boundary.
The guides are written with factual upgrade behavior in mind: what the migrations actually do, what is additive, what is breaking, what is behavior-changing, and what the rollback constraints are.