Skip to content

Add primary key

To add a primary key to an entity:

  1. Open the tab Columns by double clicking on the entity.
  2. In the row of the chosen attribute, tick the check box under P. The P stands for primary key. The box for M is also automatically checked. This means that the attribute is mandatory and needs to be filled.
    Add a primary Key
  3. If the primary key consists of multiple attributes, tick the check box under the P next to these attributes.
    Add a composite primary key

When you have a composite primary key, make sure you that the order in which you select the attributes of the composite primary key should match the order of the attributes from the source data.