pub async fn backdate(
conn: &mut PgConnection,
file_upload_id: Uuid,
age: Duration,
) -> ModelResult<()>Expand description
Ages a recorded upload, so a test can reach the retention window without waiting a week.
pub async fn backdate(
conn: &mut PgConnection,
file_upload_id: Uuid,
age: Duration,
) -> ModelResult<()>Ages a recorded upload, so a test can reach the retention window without waiting a week.