Data Types

Introduction

The Data section allows you to manage and structure all database elements essential to the template. To open it, click the database icon in the left panel of the Bubble Editor.

Tip: To make the most out of your template and avoid issues while customizing data elements, it’s helpful to review Bubble's data management manuals:

Each data type includes built-in fields that are automatically created and managed by the system. These fields cannot be modified or deleted, as they are essential for tracking ownership and changes to the data:

  • Creator: The user who created the entry.

  • Creation Date: The timestamp indicating when the entry was created.

  • Modified Date: The timestamp showing the last time the entry was updated.

Tip: How to Find Where a Data Field is Used in the Application

Tip: In the application there is also an internal system of notes with description of fields and data types.

About (photo block)

Data type description: The photo block used on the Creator page in the About tab.

Field
Type
Description

pictures

List of images

A collection of images related to that block.

type

number

About (text block)

Data type description: A text block that is used on the Creator page in the About tab.

Field
Type
Description

description

text

The text content of this block.

size

number

Title font size

title

text

The title content of this block.

weight

number

The weight of the title of this block.

Activity history

Data type description: This data type records the history of changes to a user's subscription, detailing the current and new subscription plans to facilitate tracking and management of subscription status

Field
Type
Description

current_tier

The subscription plan currently held by the user(member).

new_tier

The new subscription plan to which the user(member) is changing.

subscription

The specific subscription associated with the activity history.

App Announcement

Data type description: type of notification, which is created by admin from admin-dashboard. Which can be sent optionally to all creators/members.

Field
Type
Description

index

number

A numerical identifier for the announcement.

receivers

A list of users receiving the announcement.

subject

text

The subject or title of the announcement.

text

text

The content of the announcement.

user_type

text

The type of users targeted by the announcement. (Creators, members or All users)

viewed

A list of users who have viewed the announcement.

Benefit

Data type description: The data type responsible for the list of benefits that are used in the Creator Plan. These benefits are configured by the Admin in the Dashboard when editing subscriptions for creators.

Field
Type
Description

text

text

text content of benefit

Blocked_member

Data type description: This data type captures information when a Creator blocks a Member

Field
Type
Description

creator

The creator who has blocked the member.

member

The member who has been blocked by the creator.

Chart

Data type description: Auxiliary data type for drawing graphs.

Field
Type
Description

month

List of texts

A list of months for charting.

week

List of texts

A list of days for charting.

year

List of texts

A list of months for charting.

Chat

Data type description: This data type captures information about chat sessions, including the messages exchanged and the users involved.

Field
Type
Description

messages

A list of messages related to the chat

users

A list of users participating in the chat.

Collection

Data type description: A collection of posts that a Creator can create from their own posts. He can create a collection in the corresponding tab.

Field
Type
Description

description

text

A detailed description of the collection.

picture

image

An image representing the collection.

posts

A collection of posts included in the collection.

title

text

The title of the collection.

Comment

Data type description: The data type responsible for the comments under the post.

Field
Type
Description

content

text

The text content of the comment.

likes

A list of users who liked the comment.

likes_count

number

The total number of likes on the comment.

post

The post to which the comment belongs.

replies

List of Comments

A list of replies to the comment.

replyTo

Comment

The comment that this one is a reply to (if applicable).

Countries for Stripe

Data type description: List of countries that are required when registering with Stripe.

Field
Type
Description

Country Name

text

Country name

ISO Code

text

ISO Code

Creator Part

Data type description: This data type encapsulates all fields related to a user classified as a creator. It covers personal details, subscriptions, financial of employment data, goals, and interactions within the platform

Field
Type
Description

about_photo

A collection of blocks(photo) created by this creator.

about_text

collection of blocks(text) created by this creator.

announcements

List of Announcements Creators

The type of notifications that will be sent to Members who are subscribed to this creator. Can be configured in Settings in the Creator's Dashboard.

background_Image

image

An image used as a background for the creator's profile.

blocked_members

A list of members blocked by the creator.

canceled_subscription

date

The date when the subscription was canceled.

collections

A list of collections created by this creator.

creator_plan

The subscription plan to which the creator is subscribed.

Creator_plan_sbc_id

text

An identifier for the creator's plan.

goals

A list of goals set by the creator.

headline

text

The headline of the creator's profile.

last_payment

date

The date of the creator's last payment.

member_Number

number

The number of members associated with the creator.

members

A list of users who are members of the creator's channel.

notification type creator

List of Notification type creators

The type of notifications that will be sent to the current creator. Can be configured in Settings in the Creator's Dashboard.

pageName

text

The name of the creator's page.

posts

A collection of posts made by the creator.

products

A listing of products associated with the creator.

profilePicture

image

The profile picture of the creator's page.

page is published?

yes / no

Indicates whether the creator's page is published or hidden.

seller_id

text

A unique identifier for the creator as a seller. (used for Stripe)

is page shared?

yes / no

flag that indicates whether the creator has shared their page or not.

start_subscription

date

The date the creator's subscription began.

subscriptionPlans

A collection of subscription plans available to the creator.

team

Information about the team associated with the creator.

total_earnings

number

The total earnings accumulated by the creator.

Creator plan

Data type description: This data type is responsible for the subscription plan for creators to reduce the commission on earnings, which will allow the admin to make more profit from the app.

Field
Type
Description

benefits

List of texts

A collection of benefits associated with the plan.

description

text

A detailed description of the creator plan.

headline

text

The headline of the plan.

id

text

A unique identifier for the creator plan. (from stripe)

percent

number

A percentage that will be deducted from the creator's earnings

percent_description

text

A description related to the percentage benefits.

price

number

The price of the creator plan.

title

text

The title of the creator plan.

Goal

Data type description: This data type captures information about specific goals, including financial progress, descriptions, and titles. The Goal can be created in the corresponding tab on the creator's page.

Field
Type
Description

$raised

number

The amount of money raised towards the goal.

$requested

number

The total amount requested for the goal.

description

text

A detailed description of the goal.

title

text

The title or name of the goal.

Message

Data type description: The data type responsible for the message and its content.

Field
Type
Description

chat

The chat to which the message belongs.

content

text

The text content of the message.

Notification Creator

Data type description: This data type encapsulates the details of notifications sent to Creator.

Field
Type
Description

creator

User

The creator receiving the notification.

member

User

The member whose action triggered the notification creation. (ex. when Member liked post, subscribed to creator, left comment)

post

Post

The post associated with the notification.

text

text

The text content of the notification.

type

Notification type creator

The type of the notification.

viewed

yes / no

Indicates whether the notification has been viewed by creator.

Notification Member

Data type description: This data type encompasses notifications received by members as a result of creators' actions or other activities.

Field
Type
Description

commented

User

The user who commented member's comment, triggering the notification.

creator

User

The creator who performed the action.

made A Pledge To

User

The creator who was followed by the creator who is followed by the current member.

members_Receiver

List of Users

The list of members receiving the notification.

post

Post

The post associated with the notification.

text

text

The text content of the notification.

type

Notification Type Member

The type/category of the notification.

viewedBy

List of Users

The list of users who have viewed the notification.

Option

Data type description: This data type comprises key components of an option within a survey, including the content of the option, its associated post, and the users who have voted for it. This allows creators to create posts like Survey and get feedback from their subscribers.

Field
Type
Description

post

The survey post to which the option belongs.

content

text

The text content of the option.

voted

A list of users who have voted for this option.

Post

Data type description: The data type responsible for the Post and its content. There are 6 post types in total: Text, Video, Audio, Link, Survey.

Field
Type
Description

all paid

yes / no

Indicates whether all paid subscribers of any paid plan can see this post.

audio

file

Audio file linked to the post.

collection

The collection to which the post belongs.

commentNumber

number

The number of comments on the post. (is used in Dashboard_creator to display the most commented posts)

comments

A list of comments made on the post.

content

text

The main text content of the post.

creator

The user(creator) who created the post.

early access

yes / no

Indicates if there is early access to the post.

image preview

image

A image that will be displayed until the time to publish the post has come. This image is chosen by the creator if he/she decides to postpone the publication of the post.

is image preview

yes / no

Indicates if there is an image for the preview.

likeNumber

number

The number of likes the post has received (is used to sort by likes)

likes

A list of users who liked the post.

link

text

A link associated with the post.

multiple choice

yes / no

Indicates if multiple selections are allowed.

options

Options list for a post of type Survey.

permission to comment

yes / no

Indicates if commenting on the post is allowed.

pictures

List of images

A list of images associated with the post.

publish date

date

The date when the post will be published.

published

yes / no

Indicates whether the post is published.

tags

List of texts

A list of tags associated with the post.

text preview

text

Text that will be displayed until the time to publish the post has come. This Text is writen by the creator if he/she decides to postpone the publication of the post.

tiers

A list of subscription plans related to the post

title

text

The title of the post.

type

Post Category

The category to which the post belongs.

video

file

A video file associated with the post.

views

A list of views associated with the post.

Product

Data type description: A data type that is responsible for the product that a creator can create and put up for sale on their dashboard.

Field
Type
Description

all paid

yes / no

Indicates whether all paid subscribers of any paid plan can see this product for free.

description

text

A description of the product.

files

List of files

A list of files related to the product.

free for

Subscription plans that allow free access.

heading

text

The heading or title for the product.

image file

image

An image file associated with the product.

preview image

image

An image used for previewing the product.

price

number

The price of the product.

published

yes / no

Indicates whether the product is published.

sales

number

The number of sales for the product.

type

product type

The category or type of the product.

Report

Data type description: The type of data that is responsible for the complaint that the admin receives from site users.

Field
Type
Description

content

text

The main content of the report.

creator

User

The user who created the report.

reason

List of reasons

A list of reasons for filing the report.

Transaction from creator's subscr

Data type description: A data type that contains information about the transaction that was performed when the creator subscribed to the app plan.

Field
Type
Description

amount

number

The amount of the subscription transaction.

creator

User

The user who is the creator of the subscription.

tariff

The plan associated with the creator's subscription.

transaction id

text

A unique identifier for the transaction.

Subsc Transaction

Data type description: A data type that contains information about the transaction that was performed when subscribing to the plan.

Field
Type
Description

amount to creator

number

The amount transferred to the creator.

creator

User

The user who is the creator receiving the transaction.

fee

number

The fee associated with the transaction.

id

text

A unique identifier for the transaction.

plan id

text

The identifier for the subscription plan.

sbsc id

text

The identifier for the subscription.

total amount

number

The total amount of the transaction.

transactionId

text

A unique identifier for the transaction record.

user

User

The user who initiated the subscription transaction.

Subscription

Data type description: A data type that contains subscription information about the plan to which a member has subscribed.

Field
Type
Description

cancel_date

date

The date the subscription was canceled.

creator

User

The user(creator) who created the subscription.

feedback

text

Text to be filled in by the member when unsubscribing from the creator.

last_payment

date

The date of the last payment made.

member

User

The user who is a member of the subscription.

reason

Exit surveys

The reason provided for exiting the subscription.

status

Subscription status

The current status of the subscription.

subscribed_date

date

The date the current subscription was created.

subscription_id

text

A unique identifier for the subscription.

tier

Tier free/paid

Indicates whether the subscription tier is free or paid.

type

The plan associated with the subscription.

Subscription Plan

Data type description: The data type that is responsible for the subscription plans that creators create on their dashboard.

Field
Type
Description

benefits

A list of benefits associated with the plan.

description

text

A description of the subscription plan.

hide

yes / no

Indicates whether the plan is hidden.

id

text

A unique identifier for the subscription plan.

picture

image

An image associated with the subscription plan.

price

number

The price of the subscription plan.

title

text

The title of the subscription plan.

Team

Data type description: xx

Field
Type
Description

members

List of Team Memberships

A list of members associated to the team

Team Membership

Data type description: This data type captures information about team memberships, including member details.

Field
Type
Description

email

text

The email address of the member.

name

text

The name of the member.

team

The team to which the member belongs.

User

User

The user associated with this membership.

Transaction

Data type description: This data type captures details about financial transactions, including amounts, associated users, fees, and related products or goals.

Field
Type
Description

amount_to_creator

number

The amount transferred to the creator.

creator

User

"Creator" to which the transaction will be transferred

fee

number

The fee associated with the transaction.

goal

The goal linked to the transaction.

product

The product involved in the transaction.

total_amount

number

The total amount of the transaction.

transactionId

text

A unique identifier for the transaction record.

user

User

The user who initiated the transaction.

User

Data type description: This data type encapsulates user information, including personal details, account status, and interactions with creators and products.

Field
Type
Description

blocked

yes / no

Indicates if the user is blocked.

blocked_creators

List of Users

A list of creators blocked by a member. Blocked creators will not appear in the search for this member.

chats

Chats associated with the user.

country

text

The user's country of residence. (It's needed for the Stripe)

creator_Part

A field that contains a reference to a data type that stores all information about the creator, if this user is a creator

isAdmin

yes / no

Indicates if the user has admin privileges.

name

text

The name of the user.

notification type member

List of Notification Types

The type of notifications this memeber will receive.

profile_picture

image

The user's profile picture.

purchased_products

Products purchased by the user.

subscription_IDs

List of texts

Text list of the id's of Stripe subscriptions that belong to the user

subscription_number

number

The number of active subscriptions.

subscriptions

List of subscriptions associated with the user.

unread_messages

Messages that are unread by the user.

View

Data type description: This data type captures information about views on posts, including which user viewed which post.

Field
Type
Description

post

The post that was viewed.

user

User

The user who viewed the post.

Last updated

Was this helpful?