Extending the user model for your no-code backend REST API

Next, we will look at extending the Users model with extra fields.

Go to TODOLISTS service, and open the Users model. Switch to the Fields tab.

Services page
Users model with default fields

Notice the default fields.

Field Required Default Value Modifiable
Username True N/A True
Password True N/A True
Role False Standard Application User False
Enabled False True True
Email True N/A True

We will add two extra fields, FIRSTNAME and LASTNAME. Set Data Type to Varchar, and Length to 100, which should be enough to allow for most names.

Users model, extra fields

Click Update Service and wait for the changes to be deployed.

Update service button Publish confirmation modal Publish successful modal
Next: Registering users with your no-code backend REST API