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 manualChannel
This data type stores information about created channels.
Field Name | Type | Notes |
Name | text | Stores the channel name. |
Purpose | text | Stores the channel purpose. |
Team | Team | Stores the team that has the access to channel. |
TeamName | Team | Stores the team name. |
Channel Conversation
This data type stores the information mentioned within the channel.
Field Name | Type | Notes |
Channel | Channel | Stores the related channel. |
File | file | Stores the file shared in a channel. |
Link | text | Stores the link shared in a channel. |
Message | text | Stores the messages in channel conversation. |
New message? | yes / no | Stores the message status. Default value - no. |
Picture | image | Stores the picture shared in a channel. |
Direct Conversation
This data type stores information about direct conversations between two users.
Field Name | Type | Notes |
Channel | Channel | Stores the created channel |
File | file | Stores the shared file. |
Link | text | Stores the shared link. |
Message | text | Stores the messages written by users. |
New message? | yes / no | Stores the message status. |
Parties | List of Users | Stores the users involved in conversation. |
Picture | image | Stores the pictures shared in chat. |
Recipient | User | Stores the recipient user. |
Sender | User | Stores the sender user. |
Team | Team | Stores the team that has access to conversation. |
Team
This data type stores information about created teams.
Field Name | Type | Notes |
Channel | List of Channels | Stores the list of created channels for a certain team. |
Name | text | Stores the team name. |
User | List of Users | Stores the list of users, team members. |
Note: The data type has a privacy rule applied. See the 💬 in the database under the privacy section for details.
TeamUser
This data type stores information about team members.
Field Name | Type | Notes |
Name | text | Stores the user nickname. |
Team | Team | Stores the attributed team. |
User | User | Stores the user. |
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.
This data type stores the users' bio data (name, photo, phone etc.) and profile information like the attributed team.
Field Name | Type | Notes |
admin | yes / no | Stores the user’s admin status. |
email_search | text | Stores the email search. |
First Name | text | Stores the first name. |
Last Name | text | Stores the last name. |
LastTeam | Team | Stores the last attributed team. |
New message? | yes / no | Stores the message status. |
Phone | text | Stores the phone. |
Photo | image | Stores the user photo. |
Skype | text | Stores the Skype ID. |
Team | List of Teams | Stores the list of teams accessed by user. |
What I do | text | Stores the user status. |
Note: The data type has a privacy rule applied. See the 💬 in the database under the privacy section for details.
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.