Skip to main content

copy_course_module_suotar_configurations

Function copy_course_module_suotar_configurations 

Source
async fn copy_course_module_suotar_configurations(
    tx: &mut PgConnection,
    new_course_id: Uuid,
    old_course_id: Uuid,
) -> ModelResult<()>
Expand description

Copies what a teacher typed, matching the uh_course_code and ects_credits that copy_course_modules already carries over. The pause record and the config-check verdict are dropped on purpose: they describe the source course. Realisations are per-term and not copied.