Data Types

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.

Category

This data type stores information about category-specific parameters.
Field Name
Type
Notes
color
text
Stores the category color.
name
text
Stores the category name.

Color_theme

This data type stores data about the used color theme on template elements.
Field Name
Type
Notes
color_background
text
Stores the background color.
color_button_1
text
Stores the button color.
color_button_2
text
Stores the button color.
color_button_danger3
text
Stores the button color.
color_font_button_1
text
Stores the button font color.
color_font_button_2
text
Stores the button font color.
color_font_button_3
text
Stores the button font color.
color_font_header1
text
Stores the button font color.
color_font_header2
text
Stores the header font color.
color_font_main
text
Stores the main font color.
color_header1
text
Stores the header color.
color_header2
text
Stores the header color.
logo
image
Stores the logo.
logo_name
yes / no
Stores the logo name. Default value - yes.

Comment

This data type stores information about comments posted within topics. When topics are posted on this platform, users can like and comment or reply to comments.
Field Name
Type
Notes
likes
List of Users
Stores the list of users that liked the comment.
replies
List of comments
Stores the comment’s list of replies.
reply to
comment
Stores the comment to reply to.
text_HTML
text
Stores the comment text in HTML.
text_text
text
Stores the comment text.
topic
topic
Stores the comment-related topic.

Notification

This data type stores information about notifications sent when getting notifications about comments and likes on the platform.
Field Name
Type
Notes
comment
comment
Stores the related comment.
for users
List of Users
Stores the notification receivers.
seen by
List of Users
Stores the list of users that saw the notification.
topic
topic
Stores the related topic.
type
text
Stores the notification type.

Topic

This data type stores information about the created topics.
Field Name
Type
Notes
category
List of categorys
Stores the topic-related categories.
comments
List of comments
Stores the list of comments posted under the topic.
followed by
List of Users
Stores the list of followers.
privat
yes / no
Stores the topic's private status.
privat_user_seen_by
List of Users
Stores the list of users that already saw a topic in private status.
privat_users
List of Users
Stores the list of users that are allowed to see a topic in private status.
title
text
Stores the topic title.
views
List of Users
Stores the list of users that viewed the topic.

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, nickname, notifications, photo, etc.) and profile information like comments made and chats or discussions associated with the user.
Field Name
Type
Notes
about
text
Stores the user’s biography.
color_theme
color_theme
Stores the theme color value.
firstName
text
Stores the user’s first name.
fullName
text
Stores the user’s full name.
lastName
text
Stores the user’s last name.
location
geographic address
Stores the user location.
messages on
yes / no
Stores the message receiving status. Default value - yes.
nickname
text
Stores the user nickname.
Notification like
yes / no
Notification on like status.
Notification replies
yes / no
Notification on replies status.
photo
image
Stores the user photo.
type
text
Stores the user type.
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.
Image without caption