Meta fields - EAV support
Registered by
Nicolas DS
Add the support for meta fields or Entity-
It is some kind of dynamic schema for model.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Drafting
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Implementation:
Eav-columns model:
- Column name
- Description
- Column type (Int, float, str, M2O, Binary, Boolean)
- Relation (for the M2O)
Eav-(int, float, str, M2O, binary, boolean):
- Model_id
- eav-col_id
- value
Add a 'has_eav' flag to orm.orm (model)
Advantages:
- Any field are lookable (searchable, sortable, ...)
- Can add has many specification that you want to a row
(?)