Here’s the scenario:
I have a table that looks something like:
and another for tracking like:
My containers table (along with a few others) has a polymorphic
relationship to trackings. Normally, trackings would map to
containers by the container’s ‘id’, but I want to see if I can have it
reference containers by the external_id, which comes from an external
application after the record is created and will be unique.
Is this possible?
Thanks in advance for any info.