Hi, do you have any pics of the structure, loads of ways of adding bracing to prevent racking of a table. If one edge of the roof is fixed to a wall you can add diagonal braces in the roof - timber, metal or tensioned wires to hold the other edge rigid at the top. Side braces or if you are wanting to keep the structure clutter free then you are looking at holding it be the joints between posts and top members. Loads of options and no real right or wrong.