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 manualAlbum
Stores the list of album images.
Field Name | Type | Notes |
Images | List of Pictures | Stores the list of album images. |
Name | text | Stores the album’s name. |
Tags | List of texts | Stores the album related tags. |
Picture
This data type stores information about stored images.
Field Name | Type | Notes |
Album | List of Albums | Stores the name of related album. |
Description | text | Stores the image description. |
Favorite | yes / no | Stores the image favorite status. |
FavoriteUser | List of Users | Stores the list of favorite users. |
Name | text | Stores the image title. |
Picture | image | Stores the image file. |
Status | yes / no | Stores the image status. |
Tag | List of texts | Store the list of tags. |
Views | number | Stores the number of views. |
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, birthday, etc.) and profile information like list of albums and followers.
Field Name | Type | Notes |
Albums | List of Albums | Stores the list of created albums. |
BackgroundImage | image | Stores the user background image. |
BirthDay | number | Stores the user birthday. |
BirthMonth | text | Stores the user birthday month. |
FirstName | text | Stores the user first name. |
Follows | List of Users | Stores the list of followed users. |
IsFollowed | List of Users | Stores the list of followers. |
LastName | text | Stores the user last name. |
ProfilePicture | image | Stores the profile image. |
UserType | text | Stores the user type. |
Vote | number | Stores the number of votes. |
YearOfBirth | number | Stores the user birthday year. |
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.