Skip to main content

seed_states_course

Function seed_states_course 

Source
async fn seed_states_course(
    conn: &mut PgConnection,
    app_config: &ApplicationConfiguration,
    org: Uuid,
    teacher_user_id: Uuid,
) -> Result<()>
Expand description

Every registration state, and every error code, as a frozen row.

The module is paused because every phase’s claim query skips paused modules; otherwise the workers in the test deployment would walk these onwards seconds after the seed finished.