Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom User Account Fields #5

Open
7 tasks
Rowbotronics opened this issue Dec 7, 2019 · 0 comments
Open
7 tasks

Custom User Account Fields #5

Rowbotronics opened this issue Dec 7, 2019 · 0 comments

Comments

@Rowbotronics
Copy link
Collaborator

Rowbotronics commented Dec 7, 2019

We need a way to add custom fields to users through the UI. Otherwise it would be necessary to update the code any time a new user field is required, which would be tedious and error-prone.

Implementation possibilities:

  • Create a new table per custom field named based on field name that contains user ID, and field value

  • Create a table for all custom fields with columns for user ID, field ID, field value. Pair it with a table that maps custom field name, ID, and type. Entity Attribute Value Model?

  • Use something like postgres json datatype to store all custom fields in a single column in the user table.

  • Field type

    • Text
    • Number
    • Image
    • Date
  • Default value

  • Value

@Rowbotronics Rowbotronics mentioned this issue Dec 7, 2019
11 tasks
@Rowbotronics Rowbotronics changed the title Customer User Account Fields Custom User Account Fields Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant