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 manual

Bookmark

This data type stores the bookmarked posts.
Field Name
Type
Notes
Bookmarked Post
Post
Stores the bookmarked post.

Choice

This data type stores the Poll choices.
Field Name
Type
Notes
Draft value
text
Stores the draft value.
Index
number
Stores the index number.
Is Correct
yes / no
Stores the correctness value.
Value
text
Stores the choice value.

Comments

This data type stores the comment details.
Field Name
Type
Notes
Content
text
Stores the comment content.
Like Count
number
Store the like count.
Post
Post
Stores the related post.
Replied Comment
Comments
Stores the replied comments.
Replied User
User
Stores the reply author.

Conversation

This data type stores the conversation details.
Field Name
Type
Notes
Last Message
Messages
Stores the newest message.
Participants
List of Users
Stores the conversation participants.

Creator

This data type stores the creator's profile details.
Field Name
Type
Notes
Subscription Plan
Subscription Plans
Stores the selected subscription plan.
User
User
Stores the related user.

Like

This data type stores the likes made on comments.
Field Name
Type
Notes
Comment
Comments
Stores the related comments.
Post
Post
Stores the related posts.

Messages

This data type stores the message details.
Field Name
Type
Notes
Content
text
Stores the message content.
Conversation
Conversation
Stores the related conversation.
From
User
Stores the sender.
To
User
Stores the receiver.

Notifications

This data type stores the notification details.
Field Name
Type
Notes
Is read?
yes / no
Stores the notification read status.
Notify About
text
Stores the notification text.
Post
Post
Stores the related post.
Subscription
Subscription
Stores the related subscription.
User
User
Stores the related user.

Platform Commission

This data type stores the commission value.
Field Name
Type
Notes
Rate
number
Stores the commission value.

Poll

This data type stores the poll details.
Field Name
Type
Notes
Choices
List of Choices
Stores the list of options.
Post
Post
Stores the related post.
Type
Poll Type
Stores the poll type.

Poll Answer

This data type stores the details of the answers.
Field Name
Type
Notes
Answer
List of Choices
Stores the list of answers.
Poll
Poll
Stores the related poll.
User
User
Stores the answer author.

Post

This data type stores the post details.
Field Name
Type
Notes
Avaible for Unsubscribed
yes / no
Stores the public availability status.
Comment Count
text
Stores the number of comments.
Content
text
Stores the post content.
Like Count
number
Stores the like count.
Photo
image
Stores the post photo.
video_url
text
Stores the video URL.

Story

This data type stores the story details.
Field Name
Type
Notes
API ID
text
Stores the API ID.
videos & images
List of files
Stores the related videos and images.

Subscription

This data type stores the subscription details.
Field Name
Type
Notes
Creator Earning
number
Stores the creator earning value.
Current Status
text
Stores the Subscription status.
id
text
Stores the subscription ID.
Platform Earning
number
Stores the platform earning value.
Same user
yes / no
Stores the subscription status.
Subscribed to
User
Stores the subscribers.

Subscription Plans

This data type stores the subscription plans registered within app.
Field Name
Type
Notes
id
text
Stores the Stripe subscription plan ID.
name
text
Stores the plan name.
price
number
Stores the plan 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.
This data type stores the users' bio data (avatar, info, banner, etc.) and profile information like comments made and chats or discussions associated with the user.
Field Name
Type
Notes
Avatar
image
Stores the user image.
Creator
Creator
Stores the creator ID.
Info
text
Stores the user info.
Location
geographic address
Stores the user location.
Name
text
Stores the user name.
Profile Banner
image
Stores the banner image.
Type
User Type
Stores the user type.
User Theme
Theme
Stores the user-preferred theme.
Username
text
Stores the username.
Website URL
text
Stores the site URL.
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
access rights
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.

App Settings

This field holds all the options available for the app details.
Attribute
Type
Notes
App Name
text
Stores the app name.
Logo
text
Stores the app text logo.
The options for this set are:
Option
Types
Your App
Stores the details of your app profile.

Login Pictures

This field holds all the options available for the login picture.
Attribute
Type
Notes
images
list of images
Stores the list of login images.
The options for this set are:
Option
Types
Pics
Stores the list of pictures.

Poll Type

This field holds all the options available for poll types. It comes with the default "Display" attribute.
The options for this set are:
Option
Types
Poll
Stores the poll type.
Quiz
Stores the quiz type.

Theme

This field holds all the options available for the product listing categories. It comes with the default "Display" attribute.
The options for this set are:
Option
Types
Light
Stores the light theme.
Dark
Stores the dark theme.

User Type

This field holds all the options available for the user type. It comes with the default "Display" attribute.
The options for this set are:
Option
Types
Standard
Stores the standard option.
Demo
Stores the demo option.
Admin
Stores the admin option.
💡
Tip: To find the pages where the options sets are used, use the App Search Tool within the editor.
Image without caption

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