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

Answer

This object holds information regarding the answer to a question.
Field Name
Type
Notes
body
text
Stores the answer content.
downVotersAnswer
List of Users
Stores a list of users who downvoted the answer.
downVotersAnswerCount
number
Stores a number of users who downvoted the answer.
question
Question
Stores the question to which this answer is related.
upVotersAnswer
List of Users
Stores a list of users who upvoted the answer.
upVotersAnswerCount
number
Stores the number users who upvoted the answer.
voteCount
number
Stores the total amount of votes for the answer.

Category

This object holds category related info.
Field Name
Type
Notes
name
text
Stores the category name.
topic
List of Topics
Stores a list of category topics.

Notification

This data type stores information regarding the platform notifications.
Field Name
Type
Notes
new
yes / no
Stores the category name.
question
Question
Stores the question to which this notification is related.
user
User
Stores the user to which this notification is related.

Question

This object holds information about a question.
Field Name
Type
Notes
anonymous
yes / no
Marks a question as anonymous.
answers
List of texts
Stores a list of answers to the question.
body
text
Stores the content of the question.
category
Category
Stores the category related to this question.
contributors
List of Users
Stores a list of users that contributed with an answer to the question.
downVotersQuestion
List of Users
Stores a list of users who downvoted a question.
downVotersQuestionCount
number
Stores the number of users which downvoted a question.
topic
Topic
Attributes a topic to the question.
upVotersQuestion
List of Users
Stores a list of users which upvoted a question.
upVotersQuestionCount
number
Stores the number of users which upvoted a question.
☝
Note: The data type has a privacy rule applied. See the πŸ’¬ in the database under the privacy section for details.

Topic

This object stores topic related information.
Field Name
Type
Notes
category
Category
Stores topic category.
name
text
Stores topic 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.
Field Name
Type
Notes
admin
yes / no
Enables admin access to the user.
bio
text
Stores user bio information.
college
text
Stores user education info.
knowledge
List of texts
Stores a user interested areas of knowledge.
location
text
Stores user location.
name
text
Stores user name.
passedQuestions
List of Questions
Stores the questions which user passed.
profilePicture
image
Stores the user profile picture.
☝
Note: The data type has a privacy rule applied. See the πŸ’¬ in the database under the privacy section for details.

Variable

This object holds a field that restricts the demo user's abilities throughout the platform so that he doesn't accidentally delete any important information.
Field Name
Type
Notes
access
yes / no
Field that determines demo user access.

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