We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Implementing an EAV Schema with Ecto in Elixir
144
clicks
Source: reddit.com
The content involves a discussion by an individual new to Elixir, identified as NerdyByDesign, who is working on a project that requires setting up an Entity-Attribute-Value (EAV) schema. They provide an outline of the schema's structure involving multiple tables such as Entity, Attribute, Value, Name, and Constraint tables, each with specific relationships and fields. They are seeking guidance on whether to use two schemas, one static and one dynamic, along with associated changesets for form handling and validation. The author expresses concern over the extensive use of String to Atom conversions and is looking for confirmation or advice on the path forward, including whether there is an existing solution for EAV schemas within the Elixir ecosystem.
Related posts
© HashMerge 2024