1 min readMay 17, 2019
Well, you just use polymorphic relationships instead of saving the relation data (or the whole relation) inside a JSON. I’m not talking about performance, but rather, accessibility, without having 3 tables each with their own foreign column for the correct relationship, thus triplicating the same data across 3 tables.