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 manualComment
This data type stores the comments made on images.
Field Name | Type | Notes |
commentContent | text | Stores the comment content. |
commentPost | Post | Stores the related post. |
commentRegex | text | Stores the comment regex data (creator name, id, and content). |
user | User | Stores the comment author. |
Conversation
This data type stores the conversations between users.
Field Name | Type | Notes |
conversationParties | List of Users | Stores the conversation parties. |
messages | List of Messages | Stores the conversation messages. |
Filters
This data type stores the filter-related data.
Field Name | Type | Notes |
filter | image | Stores the filter-related image. |
filterURLEncoded | text | Stores the filter encoded URL. |
Follow
This data type stores data about followers.
Field Name | Type | Notes |
following | User | Stores the users that are following. |
Like
This data type stores data about likes.
Field Name | Type | Notes |
postLike | Post | Stores the post likes. |
Message
This data type stores the message content.
Field Name | Type | Notes |
messageContent | text | Stores the message content. |
messageNew | yes / no | Stores the message status. Default value - yes. |
messageRecipient | User | Store the message recipient. |
Notification
This data type stores data about notifications.
Field Name | Type | Notes |
notiFollow | Follow | Stores notifications about followers. |
notifLike | Like | Stores notifications about likes. |
notifNew | yes / no | Stores notifications about new status. Default value - yes. |
notifReceiver | User | Stores notification receiver. |
Post
This data type stores data about posts.
Field Name | Type | Notes |
postComment | List of Comments | Stores the list of post comments. |
postCommentRegex | List of texts | Post comments regex information. |
postDescription | text | Stores the post description. |
postHashtags | text | Stores the post hashtags. |
postImage | image | Stores the post image. |
postLikeCount | number | Storer the number of post likes. |
postLikes | List of Users | Stores the post likes. |
postNotification | List of Notifications | Stores the list of post notifications. |
processed | yes / no | Stores the post-processing status. Default value - no. |
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, gender, city, etc.) and profile information like comments made and chats or discussions associated with the user.
Field Name | Type | Notes |
userComment | List of Comments | Stores the user’s comments. |
userConversation | List of Conversations | Stores user’s conversations. |
userDescription | text | Stores the user description. |
userFollowers | List of Users | Stores the list of user followers. |
userFollowing | List of Users | Stores the list of followed users. |
userLikes | List of Posts | Stores the list of liked posts. |
userLikes_ | List of Users | Stores the list of users that put likes. |
userLikes__ | List of Likes | Stores the list of accorded likes. |
userMessages | List of Messages | Stores the list of messages sent by the user. |
userNickName | text | Stores the user nickname. |
userNotification | List of Notifications | Stores the list of notifications. |
userNumberOfFolowers | number | Stores the number of followers. |
userNumberofFollowing | number | Stores the number of following. |
userNumberOfPost | number | Stores the number of posts. |
userPost | List of Posts | Stores the list of posts written by the user. |
userProfilePicture | image | Stores the user profile image. |
Note: The data type has a privacy rule applied. See the 💬 in the database under the privacy section for details.
Variable
This data type is used to (not) allow users to use the admin features within the app.
Field Name | Type | Notes |
writeRights | yes / no | This field determines demo user permissions. |
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.
UserData
This field holds all the options available for user data filtering.
Attribute | Type |
Parametr | text |
The options for this set are:
Option | Notes |
Posts | Stores the option that shows posts only. |
Followers | Stores the option that shows followers only. |
Following | Stores the option that shows followed users only. |
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.