Skip to main content

replace_lapsed_slots

Function replace_lapsed_slots 

Source
pub async fn replace_lapsed_slots(
    conn: &mut PgConnection,
    new: &[NewAccountLinkingEmail],
) -> ModelResult<()>
Expand description

Marks the rows these new slots would collide with in the dedup key as replaced, where their link can no longer be used, so the slots can be claimed. Rows holding their address are left alone.