platform icon indicating copy to clipboard operation
platform copied to clipboard

Attachment Parent Entity Id

Open andriusvo opened this issue 4 years ago • 0 comments

Summary
In class File change field parentEntityId from int to string, because relations can have id fields as UUID for example.

Example
Real case - class Car have a relation with File. Car primary key id used as UUID (791d3208-cfa8-4853-8255-fe1089840a74) so in this case, parentEntityId will fail.

andriusvo avatar Jan 03 '22 07:01 andriusvo