Expand description
Tenant-scoped SQLite-backed TaskStore implementation.
Adds a tenant_id column to the tasks table for full tenant isolation
at the database level. Uses TenantContext to scope all operations.
Requires the sqlite feature flag.
§Schema
CREATE TABLE IF NOT EXISTS tenant_tasks (
tenant_id TEXT NOT NULL DEFAULT '',
id TEXT NOT NULL,
context_id TEXT NOT NULL,
state TEXT NOT NULL,
data TEXT NOT NULL,
updated_at TEXT NOT NULL DEFAULT (datetime('now')),
PRIMARY KEY (tenant_id, id)
);Structs§
- Tenant
Aware Sqlite Task Store - Tenant-scoped SQLite-backed
TaskStore.