pub async fn record_config_check(
conn: &mut PgConnection,
course_module_id: Uuid,
check: &SuotarConfigCheck,
) -> ModelResult<()>Expand description
Stamps the check result on the module, creating the configuration row for a module that has none: an enabled module with no configuration is itself one of the problems being reported.
Resurrects a soft-deleted row for the same reason upsert does: ON CONFLICT can only infer
against uq_course_module_suotar_configurations, so an insert beside one is impossible.