pub fn scope_key(tenant: &str, project: &str) -> i64
Scope of a resource type table row (one tenant’s project). Leads every index on those tables.