Re:Django EAV 2 – Entity-Attribute-Value Storage for Django
by ivan_ah on Friday July 27, 2018 @07:00PM
(#17630167)
Yep, it's essentially the same thing. I guess EAV approach was the old way from before JSONField days.
In both cases the cost of this flexibility and migration-less data model extensibility is extra code paths and guards to check if these "optional" attributes are present or not. Spaghetti code anyone?
In both cases the cost of this flexibility and migration-less data model extensibility is extra code paths and guards to check if these "optional" attributes are present or not. Spaghetti code anyone?