Skip to main content

mark_superseded

Function mark_superseded 

Source
pub async fn mark_superseded(
    conn: &mut PgConnection,
    id: Uuid,
    superseded_by_id: Uuid,
) -> ModelResult<()>
Expand description

Points an old attempt at the newer one that replaced it. The old row keeps its state and terminal_at: it really was registered.