Logical design of relational database schemes