pub async fn upsert<'e, E>(
ex: E,
league_id: i64,
email: &str,
token_hash: &str,
) -> Result<i64, Error>where
E: Executor<'e, Database = Sqlite>,Expand description
Insert or replace the outstanding invite for (league_id, email), setting a
14-day expiry. Returns the invite’s row id.