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

Category

This data type stores all items for sale that are grouped in categories. This aids navigation and search.
Field Name
Type
Notes
Name
text
Stores the category name.

Comments

This data type stores the comments on products.
Field Name
Type
Notes
Content
text
Stores the comment body text.
Item
Item
Stores the commented item.

Item

This data type stores the item details.
Field Name
Type
Notes
Address
geographic address
Stores the item address.
Age
number
Stores the item age.
Bedroom
number
Stores the number of included bedrooms.
Body Color
text
Stores the body color.
Category
Category
Stores the item category.
Description
text
Stores the item description.
HP
number
Stores the value of horse powers.
Images
List of images
Stores the item’s images.
Item
Item
Stores the item itself.
Job Type
text
Stores the job type.
Km
number
Stores the number of passed kilometers.
Location
Location
Stores the item location.
Make
text
Stores the make type.
Model
text
Stores the model.
Name
text
Stores the item name.
Price
number
Stores the item price.
Size
number
Stores the item size.
Sub-Category
Sub-Category
Stores the subcategory name.
Usage
text
Stores the usage description.
Used
text
Stores the use details.
Year
number
Stores the year made.

Item-Job

This data type stores the job items.
Field Name
Type
Notes
item
Item
Stores the related items.
Job Type
text
Stores the job type.

Item-Motors

This data type stores the motor related dateils.
Field Name
Type
Notes
Body Color
text
Stores the body color.
HP
number
Stores the number of horse powers.
item
Item
Stores the related items.
Kilometers
number
Stores the number of passed kilometers.
Make
text
Stores the make details.
Model
text
Stores the motor model.
Used
text
Stores the use information.
Year
number
Stores the make year.

Item-Property

This data type stores the property related information.
Field Name
Type
Notes
Bedroom
number
Stores the number of bedrooms.
Item
Item
Stores the related item.
Size
number
Stores the property size.

Item-Classifieds

This data type stores the item details.
Field Name
Type
Notes
Age
number
Stores the item age.
Item
Item
Stores the related item.
Usage
text
Stores the item usage.

Location

This data type stores the locations to aid buyers find ads close to them.
Field Name
Type
Notes
Name
text
Stores the location name.

Sub-Category

This data type stores the subcategory details.
Field Name
Type
Notes
Name
text
Stores the subcategory name.
OnStartPage(Trending)
yes / no
Stores the trend status.
Root-Category
Category
Stores the root category

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, city, etc.) and profile information like admin status.
Field Name
Type
Notes
Admin
yes / no
Stores the admin status.
City
text
Stores the user city.
Country
text
Stores the user country.
First Name
text
Stores the user first name.
Image
image
Stores the user image.
Last Name
text
Stores the user last name.
Phone
text
Stores the user phone.
Street
text
Stores the user street.
☝
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
AccessRights
yes / no
This field determines demo user permissions.

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