Polymorphic associations

Is there any way to add polymorphic associations to the metadata? We have a number of cases where we have tables with fields like OWNER_TYPE and OWNER_ID. It would be cool to be able to specify associations in the query builder using the combination of type and foreign key.

1 Like