pub fn insert_memory(conn: &Connection, memory: &Memory) -> Result<()>
Insert a new memory into the database.