pub async fn record_deleted(
conn: &mut PgConnection,
entity_type: ContentEntityType,
entity_id: Uuid,
author: HistoryAuthor,
) -> ModelResult<()>Expand description
Records the entity’s current state as deleted. Call it before deleting the entity; does nothing if it is already gone.