
Duplication attacked, apparently due to incorrect design.
Comments to the scheme:
- services (Service) are bound to an order (Order) using a table (Order_Service)
- each order service (Order_Service) is performed by an employee, connection: table (Employee_Order_Service)
- services are of two types:
+ translation (TranslationInfo), stores the name of the text that is translated, the languages from and to which it is translated (LangFrom, LangTo)
+ certification of translation (NotarialInfo), also stores the name of the text, languages, the number of copies of the certification.
But there is such a flaw ... Such a problem, look, the type of the service "translation" and "certification" contain many identical fields , namely: the file name, the language "from", the language "to". Therefore, when changing, for example, the name of the text, you will need to change it in both TranslationInfo and NotarialInfo. You can only verify the texts that were translated , so it would be better to place the "CopyCount" field in the "TranslationInfo" table, and not to create the "Notarial" table at all! But the assurance must have its own performer, its price. The translation also has its performer and price, respectively.
How to be? How to fix?
