pub async fn ensure_rows(
conn: &mut PgConnection,
course_id: Option<Uuid>,
) -> ModelResult<()>Expand description
Creates the schedule rows of every listable code, and the per-module configuration rows the
discovery counters are written to. course_id narrows it to one course.