basalt / drives/src / SINGLE_TENANT_SCOPE
Variable: SINGLE_TENANT_SCOPE
> const SINGLE_TENANT_SCOPE: "@single" = '@single'
Defined in: drives/src/drives.ts:54
Single-tenant apps still need a key for the composite store keys.
A sentinel no tenant id can equal: @ is outside @basaltkit/tenancy's grammar, and a context or explicit tenant carrying it is refused with DriveTenantReservedError. It used to be 'default' — a perfectly valid tenant id, so a tenant named default listed, used and disconnected a single-tenant app's connections. Rows written under 'default' must be re-keyed once (see the changelog for the migration).