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

Beverage Preferences

This data type contains the price and time(hours) for every bathroom type.
Field Name
Type
Notes
name
text
Stores the beverage name.
price
number
Stores the beverage price.

Booking

This data type contains all the booking information a customer would provide when the customer requests a catering service.
Field Name
Type
Notes
address
text
Stores the address for cleaning services.
amount
number
Stores the number of cleaned rooms.
Beverage Preferences
text
Stores the preferences.
Beverages
List of Event Beverages
Stores the list of selected beverages
ChargeId
text
Stores the charge id
Date of event
date
Stores the event date
durationOfEvent
text
stores the event duration
email
text
Stores the customer email
eventType
text
Stores the event type
eventtype
Event Type
fee
text
Stores the overall price
feeForRefund
number
Stores the fee for refund
Food Preferences
List of Food Preverences
Stores the Food preferences
quests
number
Stores the number of quests
meals
text
Stores the meals selected
message
text
Store the customer message
name
text
Stores the customer name
phoneNumber
text
Stores the customer phone number
Preffered Cuisine
List of Preferred Cuisines
Stored the list of preffered cuisines
Refund request
Refund request
Stores the refund request
☝
Note: The data type has a privacy rule applied. See the πŸ’¬ in the database under the privacy section for details.

FAQ

This data type contains frequently asked questions about your cleaning service company.
Field Name
Type
Notes
answer
text
Stores the answer to the question.
question
text
Stores the question.

Message

This data type contains contact messages potential customers might have for your company. It contains name, email, and message fields.
Field Name
Type
Notes
email
text
Stores the customer's email.
message
text
Stores the customer message.
name
text
Stores the customer name.
phoneNumber
text
Stores the customer phone number.

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 contains information on the current admin of your cleaning service company.
Field Name
Type
Notes
address
text
Stores the user address.
admin
yes / no
Stores the user admin status.
bookings
Booking
Stores the booking requests.
Image
image
Stores the user image.
Name
text
Stores the user name.
New
yes / no
Stores the new status.
Phone
text
Stores the user phone.
register
Register
Stores the applicant ID
Role
Role
Stores the user role.
☝
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
writeRights
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.