Fire pit that converts to a table