Skip to main content

ensure_seed

Function ensure_seed 

Source
pub async fn ensure_seed(pool: &SqlitePool, dids: &[String]) -> Result<u64>
Expand description

Seed the admin-bootstrap DIDs: for each, insert a beta_access row (granted_by = 'admin') if one does not already exist. Idempotent — an existing seat is left untouched. Returns how many new seats were created.