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

Album

This data type stores information about the album collections of songs added by Streamy artists.
Field Name
Type
Notes
artist
text
Stores the artist name (a single artist or a band) this album belongs to.
cover
image
Stores the cover image of the album.
description
text
Stores the album description.
followers
List of Users
Stores the list of users that added this album to their following list.
genres
List of Genres
Stores the list of genres this album songs refer to.
name
text
Stores the album name.
tracks
List of Tracks
Stores the actual list of tracks (songs).

Genre

This data type stores information about the song genres.
Field Name
Type
Notes
image
image
Stores the image to showcase a specific song genre.
name
text
Stores the genre name.

Subscription

This data type stores information about the platform subscriptions.
Field Name
Type
Notes
ID
number
Stores the subscription ID.
name
text
Stores the subscription name (Free or Platinum).
price
number
Stores the subscription pricing.

Track

This data type stores information about the actual track (song).
Field Name
Type
Notes
artist
text
Stores the artist name (a single artist or a band).
genres
List of Genres
Stores the list of genres this track refers to.
image
image
Stores the track image.
name
text
Stores the track name.
track
file
Stores the actual track file.

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. To learn more, see the Bubble manual.
This data type stores information about the platform users which use either the Free or Platinum plan, follow music albums, create their own list of tracks and so on.
Field Name
Type
Notes
admin
yes / no
Checks whether or not the admin rights are granted.
albums
List of Albums
Stores the list of albums added to the platform.
created
List of Tracks
Stores the list of tracks added to the platform.
favorites
List of Tracks
Stores the list of tracks added to the Favorites list.
first_name
text
Stores the user's first name.
full_access
yes / no
Checks the user's full access to the admin panel.
last_name
text
Stores the user's last name.
new
List of Tracks
Stores the list of tracks set as new.
nickname
text
Stores the user's nickname.
profile_photo
image
Stores the user's profile photo.
subscription
Subscription
Stores the user's subscription information.
subscription_canceled
yes / no
Checks the subscription to be canceled or not.
subscription_canceled_date
date
Stores the date when the subscription was canceled.
subscription_date
date
Stores the date when the subscription was created.
Note: The data type has a privacy rule applied. See the 💬 in the database under the privacy section for details.

Variable

This is an object that holds template variables.
Field Name
Type
Notes
access_rights
yes / no
This field is intended to restrict a demo admin user rights, so that it is not possible to delete the template's content.

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

Helpful?