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

MovieRecently

This data type stores information about movies recently viewed by user within the app.
Field Name
Type
Notes
id
text
Stores the movie ID.
image
image
Stores the movie poster.
timeStamp
date
Stores the view time stamp.
title
text
Stores the movie title.
tv
yes / no
Stores the movie status on tv.
url
text
Stores the movie page url.

MoviesReviews

This data type stores information about movie reviews.
Field Name
Type
Notes
author
User
Stores the user, review author.
movieId
text
Stores the related movie ID.
reviewText
text
Stores the review text.
showId
text
Stores the related show ID.

MovieWatchlist

This data type stores information about movies to be watched, and added to the list by the user.
Field Name
Type
Notes
id
text
Stores the movie id.
image
image
Stores the movie image.
title
text
Stores the movie title.
tv
yes / no
Stores the movie status on tv.
url
text
Stores the movie page url.

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, gender, city, etc.) and profile information like comments made and chats or discussions associated with the user.
Field Name
Type
Notes
isAdmin
yes / no
Stores the user status as admin.
name
text
Stores the user name.
photo
image
Stores the user photo.
recentlyWatched
List of movieRecentlys
Stores the list of recently watched movies.
watchlist
list of movieWatchlists
Stores the list of movies to be watched.
☝
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
adminRights
yes / no
The ability to create, delete and modify things in the admin panel. Set it to yes to have full access as admin.

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