Skip to main content

get_or_create_default_registrar

Function get_or_create_default_registrar 

Source
pub async fn get_or_create_default_registrar(
    conn: &mut PgConnection,
) -> ModelResult<Uuid>
Expand description

Registrar for the seeds’ legacy pull-flow completion registrations, created on first use.

Matched by name, not created_at order: on a fresh database the only row is the Suotar push registrar seeded by a migration, and handing that one out would put fixture rows in reach of the migration’s revert.