This repository contains the backend implementation for the plurality research project. The backend is responsible for handling various functionalities to support the plurality research platform.
this change is to migrate EAV db models to just a jsonb.
the reason we would do this is to provide us flexibility while we still do not have a model we know we want to use, this also lets the client define the event registration fields and registration data.
fields
fields will be defined in a parent table and define the possible fields that a user should input and specifies how the frontend should create the dynamic form
data
data will not be exactly related to the fields but will have the raw data that the user inputed and allows us to show the data without jumping through relationships
enforceRules
new function that is composable to all fields and data, makes sure that the rules specified by the fields are being met by the data the user inputs
this pr does not remove registration-fields and registration-data but it is in the plans for v2.6.1
overview
this change is to migrate EAV db models to just a jsonb.
the reason we would do this is to provide us flexibility while we still do not have a model we know we want to use, this also lets the client define the event registration fields and registration data.
fields
fields will be defined in a parent table and define the possible fields that a user should input and specifies how the frontend should create the dynamic form
data
data will not be exactly related to the fields but will have the raw data that the user inputed and allows us to show the data without jumping through relationships
enforceRules
new function that is composable to all fields and data, makes sure that the rules specified by the fields are being met by the data the user inputs
this pr does not remove registration-fields and registration-data but it is in the plans for v2.6.1