Data Types

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

Booking

This data type contains all information related to bookings made by customers. This ranges from the customers’ personal information to the customers’ booking information.
Field Name
Type
Notes
checkIn
text
Stores the check-in date.
checkout
text
Stores the check-out date.
email
text
Stores the email indicated in booking request.
guests
text
Stores the number of quests indicated.
name
text
Stores the user name indicated in booking request.
nights
text
Stores the number of nights.
paymentStatus
text
Stores the payment status.
personalRequest
text
Stores additional information from booking request.
phoneNumber
text
Stores the phone number indicated in booking request.
room
text
Stores the selected room name.
totalFee
text
Stores the total fee for booked period.

Gallery

This data type contains all images of your hotel which you might want to showcase to your customers.
Field Name
Type
Notes
description
text
Stores the description assigned to image.
image
image
Stores the gallery image.
name
text
Stores the image name.

Messages

This data type stores all information sent to app admin.
Field Name
Type
Notes
email
text
Stores the sender email.
message
text
Stores the message text.
name
text
Stores the sender name.
phoneNumber
text
Stores the sender's phone number.

Room

This data type contains all information about a room or suite, such as name and image of the room, price, and some additional details you might want your customers to know.
Field Name
Type
Notes
description
text
Stores the room description.
image1
image
Stores the room image.
name
text
Stores the room name.
points
text
Stores the room advantages.
price
number
Stores the room price.
RoomAmenities
List of RoomAmenities
Stores the list of room amenities.
status
text
Stores the room status.
vat
number
Stores the VAT value.

RoomAmenities

This data type stores the room amenities.
Field Name
Type
Notes
icon
image
Stores the amenity icon image.
point
text
Stores the description.
title
text
Stores the amenity title.

Services

Your hotel might have services you might want your customers to know about. This data type contains information about your hotels' services.
Field Name
Type
Notes
description
text
Stores the service description.
image
image
Stores the service image.
name
text
Stores the service name.

Subscribers

This data type stores the data about users subscribed to news.
Field Name
Type
Notes
email
text
Stores the subscribers email.

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, gender, city, etc.) and profile information like comments made and chats or discussions associated with the user.
Field Name
Type
Notes
gallery
Gallery
Stores the user related gallery.
testimonials
Testimonials
Stores the testimonial.
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.
Image without caption