separate restaurant basic and detail table