I have two entities connected by foreign key Pk => PFK.
My LER did not export without problems, chars lost their length/size.
My PK was domain. When I tried to change it to decimal(4,0), it changed for PK, but it did not change in PFK of second entity.
I tried it on new model and it’s the same. Even removing the relationship with attbite does not help, newly added relationship still has the old data type.
Then I tried simple test in new PER model.
Created two entities, one domain varchar(20).
Used domain for first attribute in entity1 and assigned key to it.
Dragged relationship to entity2 and the data type there was char instead of domain.
In my model, it generates errors - FK from domain is char with no size, but domain does have it defined. And is diferent type as well.
And cause it’s a FK, I can’t change it.