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

Blog Post

This data type stores the blog posts that can be made on this platform, as well as details about these posts.
Field Name
Type
Notes
Body
text
Stores the body text of the post.
Header Image
image
Stores the main picture of the post.
Heading
text
Stores the post title.
Images
List of images
Stores a list of images added to the post.
Likes_count
number
Stores the number of likes of the post. Used for sorting.
Published
yes / no
This field determines whether the post is published or unpublished.
Summary
text
Stores a short description of the post.
Topic
text
Stores a topic of the post.
Who_liked
List of Users
Stores a list of users who liked this post.

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, profile image) and list of liked posts.
Field Name
Type
Notes
Liked_post
List of Blog Posts
Stores posts that have been liked by a user
Name
text
Stores the full name of the user.
Profile Image
image
Stores the profile image of the user.
☝
Note: The data type has a privacy rule applied. See the πŸ’¬ in the database under the privacy section for details.

Video Post

This data type stores the details about posts with videos.
Field Name
Type
Notes
Body
text
Stores the body text of the post.
Heading
text
Stores the post title.
Likes_count
number
Stores the number of likes of the post. Used for sorting.
Published
yes / no
This field determines whether the post is published or unpublished.
Summary
text
Stores a short description of the post.
Topic
text
Stores a topic of the post.
Video URL
text
Stores the URL of the video file used in the post.
who_liked
List of Users
Stores a list of users who liked this post.

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