Raw client access is forbidden outside src/lib.
org_id column + index.*_member_id columns.UNIQUE(org_id, ...) at the DB level.orgScopedTables() list (used by deletion and export jobs).We follow expand-contract only. Additive change first, backfill via job if needed, then contract in a later deploy. Destructive changes and the code that depends on them are never shipped together.