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 manualAddresses
This data type contains the geographical locations of service providers.
Field Name | Type | Notes |
address | geographic address | Stores the location address. |
Feedback
This data type stores information about customers’ feedback.
Field Name | Type | Notes |
Customer | User | Stores the feedback author. |
feedbackText | text | Stores the feedback text. |
Hour
This data type stores information about working hours.
Field Name | Type | Notes |
hour | text | Stores the working hour. |
vacant | yes / no | Stores the hour status. |
Images
This data type stores images displayed on the Barberly pages.
Field Name | Type | Notes |
image | image | Stores the images. |
slideNumber | number | Stores the slide number. |
OrderItem
This data type stores information about products that can be purchased by users.
Field Name | Type | Notes |
count | number | Stores the order item count. |
product | Product | Stores the order products. |
total | number | Stores the total number. |
Product
This data type stores information about products available in the shop.
Field Name | Type | Notes |
productDescription | text | Stores the product description. |
productFullPrice | number | Stores the product at full price. |
productImg | image | Stores the product image |
productOrderItem | orderItem | Stores the product order item. |
productSalePrice | number | Stores the product sale price. |
productTitle | text | Stores the product title. |
Reviews
This data type stores the reviews that can be made about a service provider.
Field Name | Type | Notes |
reviewImage | image | Stores the review image. |
reviewText | text | Stores the review text. |
Schedule
This data type stores information indicated in the schedule (like the associated barber (user), the associated customer, etc.).
Field Name | Type | Notes |
barber | User | Stores the related barber. |
canceled | yes / no | Stores the schedule canceling status. |
comment | text | Stores the related comment. |
customer | User | Stores the related customer. |
day | date | Stores the scheduled day. |
hour | text | Stores the scheduled hour. |
service | List of Services | Stores the scheduled service. |
Service
This data type stores details about the service being offered.
Field Name | Type | Notes |
duration | text | Stores the service duration. |
interval | date interval | Stores the service date interval. |
Name | text | Stores the service name. |
Price | number | Stores the service price. |
quantity | number | Stores the service quantity. |
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' data (birthdate, description, product, profile Photo, services, etc.) and profile information like services, order items, dream box, etc.
Field Name | Type | Notes |
Birthdate | date | Stores the user birthdate. |
description | text | Stores the user description. |
firstName | text | Stores user first name. |
lastName | text | Stores user's last name. |
phone | text | Stores the user's phone. |
product | List of Products | Stores the user’s list of products. |
profilePhoto | image | Stores the profile photo. |
schedule | List of Schedules | Stores the related schedule for services. |
services | List of Services | Stores the list of services. |
tempPassword | text | Stores the assigned temp password. |
userDreamBox | List of Products | Stores the list of products selected to user’s dream box. |
userOrderItems | List of orderitems | Stores the items selected for the order. |
userType | text | Stores the user type. |
writeRights | yes / no | Stores the write rights status on admin page. |
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.