Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Expanding the built-in user table or adding a new one? Topic is solved

Questions related to using nuBuilder Forte.
Post Reply
camti
Posts: 12
Joined: Thu May 11, 2023 12:36 pm
Has thanked: 4 times
Been thanked: 2 times

Expanding the built-in user table or adding a new one?

Unread post by camti »

Hello,
I have a question about nubuilder's user table:
I was wondering, if it is okay to expand it with additional fields or if it should rather be left intact?

I am asking, since I want to add some fields about users, such as certifications/ qualifications, with expiry dates.
However, this other information about a user could also be added into a separate table and be linked from there, I guess.

Any reason to leave the user table "as is", or can I go ahead and expand it?

Thanks in advance for your pointers!
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Expanding the built-in user table or adding a new one?

Unread post by kev1n »

Hi,

It is not recommened to modfiy nuBuilder's core tables (prefixed with zzzz-).
During system updates, they will be reset/restored to their initial state.

Creating a separate table specifically for storing this additional information and establishing a relationship with the user table through a suitable key, such as a user ID, would be the better option. This way, you can associate the certifications/qualifications data with the corresponding user without modifying the core user table.
camti
Posts: 12
Joined: Thu May 11, 2023 12:36 pm
Has thanked: 4 times
Been thanked: 2 times

Re: Expanding the built-in user table or adding a new one?

Unread post by camti »

Great - thank you for the super quick response; good thing I asked. Will proceed as suggested then.
Post Reply