Skip to content

Developers · Users and Permissions

Creating a Database Field for all Users

Last updated 1 November 2026

This guide shows you how to create a database field for all Users of your Insites web application.

Prerequisites

To follow the steps in this tutorial, you must understand the required directory structure for your codebase and the concept of users. You may visit the links below for more information:

Steps

Creating a database field (Property) for all Users is a one-step process. Create a file in the app directory with the properties you want the user to have. Let's take the example where you want to store a phone number:

properties:
  - name: phone_number
    type: string

Important

and are interchangeable terms. We use the the former because it is a widely-used naming convention. However, the latter term is what is used throughout the Insites codebase.

Next Steps

Congratulations! You have created a database field for all Users. Now you can learn how to namespace user properties using UserProfiles in Creating a User Profile.