-- Capacity a part of the tenancy tree is guaranteed, and the most it may hold. -- -- Beside limits rather than in it: limits are counted on the request path, per -- key, in requests and tokens; these are counted by the reconciler, per model, -- in the GPUs, cores and memory its replicas hold. A NULL is a resource this -- row does not govern: guaranteed nothing, or limited by nothing. CREATE TABLE capacity_quotas ( scope_type TEXT NOT NULL, scope_id TEXT NOT NULL, gpus INTEGER, cpu_cores INTEGER, memory_gb INTEGER, limit_gpus INTEGER, limit_cpu_cores INTEGER, limit_memory_gb INTEGER, updated_at BIGINT NOT NULL, updated_by TEXT NOT NULL, PRIMARY KEY (scope_type, scope_id) );