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

Comment

This data type stores the comment-specific data.
Field Name
Type
Notes
deleted
yes / no
Stores the comment deletion status.
gif
text
Stores gif URL.
image
image
Stores the image.
like
List of Users
Stores the list of user likes on comment.
message
text
Stores the comment text.
original
comment
Stores original comment.
original tweet
Tweet
Stores the original tweet.
retweet
text
Stores the retweet.
retweeted
List of numbers
Stores the numbers of retweets.

Message

This data type stores the data about direct messages between registered accounts.
Field Name
Type
Notes
gif
text
Stores the gif link.
image
image
Stores the attached image.
Text
text
Stores the message text.
Thread
Message thread
Displays a list of message interactions between you and other users’ accounts on the website

Message Thread

This data type stores the data about messages within the thread.
Field Name
Type
Notes
gif text
text
Stores the gif URL link.
Live
yes / no
Stores the message live status.
Messages
List of Messages
Stores the list of messages.
read
List of Users
Stores the message read by user status.
user
List of Users
Stores the list of users that read the message.

Notification

This data type stores the notifications about things happening on the website. Things like who your followers are now following, recent tweets from the accounts you're following, etc.
Field Name
Type
Notes
gif
Animated GIF
Stores the animated gif.
gif-2
text
Stores the gif URL.
img
image
Stores the image.
mention
yes / no
Stores the mention status.
originator
user
Stores the user that created the notification.
Read
yes / no
Stores the notification read status.
Receiver
User
Stores the notification receiver.
Text
text
Stores the notification text.
tweet
Tweet
Stores the tween to be notified.

SpecialRight

This data type stores the admin rights status, to make changes on the admin_panel page.
Field Name
Type
Notes
WriteRights
yes / no
Stores the permission status.

Tweet

This data type stores the actual messages composed by users (called tweets), which are usually accompanied by images or animated GIFs. They're posted on the website as tweets for all other accounts to see.
Field Name
Type
Notes
Animated GIF
Animated GIF
Stores the animated gif.
comment
List of comments
Stores the list of comments.
gif url
text
Stores the gif url.
Image
image
Stores the image.
Like
List of Users
Stores the list of likes.
Message
text
Stores the tweet message.
Original creator
User
Stores the original creator.
Original tweet
Tweet
Stores the original tweet.
retweet
Tweet
Stores the retweet.
Retweeted
List of Users
Stores the list of users that retweeted.
Type
text
Stores the tweet type.

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 usual profile info (Photo, Name, Email Address) and also contains additional fields relating to your list of tweets, accounts you're following, accounts that are following you etc.
Field Name
Type
Notes
about
text
Stores the text about user.
AdminUser
yes / no
Stores the user admin status.
CoverPic
image
Stores the cover picture.
Followers
List of Users
Stores the list of followers.
Following
List of Users
Stores the list of followed users.
Handle
text
Stores the username that appears at the end of your unique Twitter URL.
ignore
List of Users
Stores the list of users to be ignored.
Image
image
Stores the user image.
Like
List of tweets
Stores the list of liked tweets.
like comments
List of comments
Stores the list of liked comments.
list_notification
List of Notifications
Stores the list of notifications.
messageThread
List of message
Stores the message thread.
Name
text
Stores the user name.
Notification
Notification
Stores the notification.
Tab
text
Stores the tweets.
Tab2
text
Stores the Tweets.
tweet
List of Tweets
Stores the list of Tweets.
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.
Image without caption