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.

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 manual

Conversation

The conversation datatype stores information about all the conversations (personal chats).
It comes with fields listed below:
Note: The data type has a privacy rule applied. See the 💬 in the database under the privacy section for details.

Message

The message datatype contains information about the messages exchanged between the users within a chat.
It comes with fields listed below:

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.
It comes with fields listed below:
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.

Colors

This option set is used for setting a color for the placeholder avatar in case the user has not added an image as an avatar. It’s set on signup.
It does not have any additional fields. It uses a built-in attribute to display the values.
The options for this set are:

Group Menu

This option set contains chat menu items.
It does not have any additional fields. It uses a built-in attribute to display the values.
The options for this set are:

Packs Menu

This option set is used Gifs & Emojis menu.
It comes with just one field:
The options for this set are:

Skin

Users can set different themes for individual chats. Each theme contains skins that as well customize the appearance of the chat. This option set contains information on chat skins.
It comes with fields listed below:
The options for this set are:

Themes

This options set is used to store themes.
It comes with fields listed below:
The options for this set are:

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.
Image without caption
Bubble Notes

Helpful?