This section consists of Database Things and fields description for every thing which is part of the template.
Introduction
To get to the Data section, click the database icon on the left side tabs in Bubble Editor.
Important: See Bubble manual information when working with data:
https://manual.bubble.io/help-guides/working-with-data; https://manual.bubble.io/core-resources/data.
Data Types
Note: In case you have accidentally deleted a data type - no worries! Bubble lets you restore💪the deleted data type.
Clicking on 'show deleted types' or 'show deleted fields' from the Data → Data types tab will reveal the deleted items, and a 'restore' button will appear next to each deleted entry.
Simply click 'restore', to restore a field or data type.
Tip: Aside from the below-listed data types and fields, Bubble creates these default fields visible in each data type:
Creator
, Modified Date
, Created Date
and Slug
, except for the User data type.
The User data type will have the following fields: email
, Modified Date
, Created Date
and Slug
. These fields' values can be used in workflows, conditional formatting, etc. To learn more, see the Bubble manualColors
This data type is used to set the primary app color.
Field Name | Type | Notes |
primary_dark | text | Stores the color value. Default value 3487E9 |
primary_light | text | Stores the color value. Default value 3379FF |
Country
This data type is used to store the country names.
Field Name | Type | Notes |
name | text | Stores the country name. |
User
Bubble applications have a built-in User data type that acts like any type that is created in a database. For instance, you can modify a user, delete a user, list them in a repeating group, etc. To learn more, see the Bubble manual.
This data type stores the users' bio data (name, photo, gender, city, etc.) and profile information like comments made and chats or discussions associated with the user.
Field Name | Type | Notes |
address | geographic address | Stores the user address. |
birthday | date | Stores the user birthday. |
country | Country | Stores the user country. |
dark_mode | yes / no | This field respond for website theme - dark or light. Default value - no. |
facebook_link | text | Stores the user’s Facebook link. |
first_name | text | Stores user’s first name. |
full_name | text | Stores user’s full name. |
geographic location | geographic address | Stores the user geographic location. |
help message | text | Stores the message sent to app support. |
Instagram_link | text | Stores the user’s Instagram link. |
last_name | text | Stores user’s last name. |
linkedin_link | text | Stores the user’s LinkedIn link. |
notification | List of Notifications | Stores the notification that comes to the user once there are any reactions to his actions on app. |
onboarding | yes / no | Stores the user onboarding status. |
one_signal_deviceID | text | Stores the one signal device ID. |
phone_number | text | Stores the user phone number. |
signup_method | text | Stores the signup method. |
twitter_link | text | Stores the user’s Twitter link. |
user_avatar | image | Stores the user avatar image. |
Note: The data type has a privacy rule applied. See the 💬 in the database under the privacy section for details.
Option Sets
Tip: Option sets define a static list of choices for use in dropdowns, pop-ups, etc. Options inside the sets have at least a text display, but they can have additional attributes defined in the Data tab. To learn more, see Bubble Manual.
Below you can find the list of option set attributes and options.
Homepage (OS)
This field holds all the options available for the index page navigation. It comes with the default "Display" attribute.
The options for this set are:
Option | Types |
main | Redirects to main tab. |
profileedit | Redirects to profileedit tab. |
profile | Redirects to profile tab. |
notifications | Redirects to notofications tab. |
headers | Redirects to headers tab. |
navs | Redirects to navs tab. |
uikit | Redirects to UI kit tab. |
map | Redirects to map tab. |
settings screens | Redirects to settings tab. |
Login (OS)
This field holds all the options available for the login tab navigation. It comes with the default "Display" attribute.
The options for this set are:
Option | Types |
login | Redirects to the login tab. |
reset password | Redirects to the reset pw tab. |
signup | Redirects to the signup tab. |
setup profile | Redirects to the setup profile tab. |
faceid | Redirects to the faceid tab. |
faceidedit | Redirects to the faceid edit tab. |
Tip: To find the pages where the options sets are used, use the App Search Tool within the editor.
Embedded Notes in Bubble Editor
This template comes with explicit Notes for Database fields, Option sets and their fields, and Privacy rules, which will guide you through the modification process.
In order to preview a Note of any data type or field, click on the 💬 icon.