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

Access Rights

This data type is used to (not) allow users to use the admin features within the app.
Field Name
Type
Notes
Access Rights
yes / no
This field determines admin user permissions.

Note

This data type stores the data about notes leaved by property owner.
Field Name
Type
Notes
Author
text
Stores the note author
Text
text
Stores the note text.

Property

This data type stores the data about properties registered by users.
Field Name
Type
Notes
Address
geographic address
Stores the property address.
Bathroom
number
Stores the bathrooms number.
Bedroom
number
Stores the bedrooms number.
City
text
Stores the city where property is located.
Country
text
Stores the country where property is located.
Description
text
Stores the property description.
Garage
number
Stores the number of garages.
Image
List of images
Stores the property images.
neighborhoods
text
Stores the property neighborhoods.
Price
number
Stores the property price.
Size
number
Stores the property size.
Title
text
Stores the property title.
Type
text
Stores the property type.
Year Built
number
Stores the property building year.

Request

This data type stores the requests or inquiries about a particular property, made by potential clients.
Field Name
Type
Notes
answered
yes / no
Stores the request answering status.
Client email
text
Stores the client email.
client message
text
Stores the client message.
Client name
text
Stores the client name.
client phone
text
Stores the client phone number.
destination
User
Stores the receiving user.
Title
text
Stores the request title.

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 property, requests and favorites associated with the user .
Field Name
Type
Notes
Admin
yes / no
Stores the user admin status.
City
text
Stores the user city.
Country
text
Stores the user country.
Favorites
List of Propertys
Stores the list of favorite properties.
My Property
List of Propertys
Stores the list of owned properties.
Name
text
Stores the user name.
Phone Number
text
Stores the user phone number.
Picture
image
Stores the user avatar image.
requests
List of Requests
Stores the list of created requests.
Surname
text
Stores the user surname.
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