Skip to main content

record_visit

pub async fn record_visit(
    conn: &mut PgConnection,
    id: Uuid,
    now: DateTime<Utc>,
) -> ModelResult<bool>
Expand description

A visit to the registration page while it showed the enrolment instructions. Moves a completed row onto the visited ladder; restarts a visited row at most once a day, and a stopped row of any group. Returns whether the schedule restarted.