Skip to main content

seed_account_linking_templates

Function seed_account_linking_templates 

Source
async fn seed_account_linking_templates(conn: &mut PgConnection) -> Result<()>
Expand description

The mail that carries a student-number linking link. Every placeholder comes from the delivery row because the recipient may have no account here, and the “you received this because” line has to stay because the message is unsolicited. A migration cannot insert a row using an enum value it adds itself, so in dev and tests these templates come only from here.