pub async fn delete(conn: &mut PgConnection, id: Uuid) -> ModelResult<()>Expand description
Soft deletes a conversation, after which it accepts no further messages.
Deleting one that is already deleted is not an error, so a caller does not have to check first. See crate::chatbot_configurations::delete for removing the configuration a conversation belongs to.
Nothing in production deletes a conversation; this exists for tests.