---
description: >-
  This section consists of Database Things and fields description for every
  thing which is part of the template.
---

# Data Types



{% hint style="success" %}
See Bubble manual information when working with data: [https://manual.bubble.io/help-guides/working-with-data](https://manual.bubble.io/help-guides/working-with-data) & [https://manual.bubble.io/core-resources/data](https://manual.bubble.io/core-resources/data).
{% endhint %}

## Data Types

## User

| Field                   | Type               | Notes                                                                                                                                                                                       |
| ----------------------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Age                     | number             | User's age.                                                                                                                                                                                 |
| Bio                     | text               | Short description of the User. (biography)                                                                                                                                                  |
| Birthday                | text               | Birthday's date of the User                                                                                                                                                                 |
| Communication Style     | text               | Big time texter, Phone caller, Video chatter, Bad texter, Better in person                                                                                                                  |
| Dislikes                | List of Users      | When the users disikes a profile, the disiked user is added to this list.                                                                                                                   |
| Drinking Habits         | text               | Not for me, Newly teetotal, Sober curious, On special occasions, Socially ,at the weekend, Most nights                                                                                      |
| Education Level         | text               | Bachelor degree, At uni, High School, PhD, On a graduate programme, Master degree Trade school                                                                                              |
| ELO Score               | number             | <p>Score Used to determine the impact of a like/dislike of a User. <br><br>See more on the ELO Score section to see how it works.<br><br><a data-mention href="elo-score">elo-score</a></p> |
|                         |                    |                                                                                                                                                                                             |
| First Name              | text               | User's first name.                                                                                                                                                                          |
| Gender                  | Gender             | <p>Gender of the User.<br><br> see the Gender data type.</p>                                                                                                                                |
| Height                  | number             | User's height.                                                                                                                                                                              |
| Hobbies                 | List of Hobbys     | e the Hobbys data type.                                                                                                                                                                     |
| Interested In           | List Of Genders    | <p>What gender is the User interested in?<br><br>see the Gender data type.</p>                                                                                                              |
| Job Title               | text               | Job title of the current user.                                                                                                                                                              |
| Likes                   | List Of Users      | When the users likes a profile, the liked user is added to this list.                                                                                                                       |
| Location                | geographic address | Where does the user's love.                                                                                                                                                                 |
| Looking for             | text               | Long Time Partner, Long-term open to short, Short-term open to long, Short term fun, New friends, Still figuring it out.                                                                    |
| Love Style              | text               | Thoughtful gestures, Presents, Touch, Compliments, Time together                                                                                                                            |
| Onboarding done         | yes/no             | useful for redirecting the user to the onboarding page.                                                                                                                                     |
| Pets                    | text               | Dog, Cat, Reptile, Amphibian, Bird, Fish, Don't have but love ,Other, Turtle, Hamster, Rabbit, Pet-free, All the pets, Want a pet, Allergic to pet                                          |
| Pictures                | List of Images     | <p>Images used for the user's profile.<br><br>- 6 pictures max.<br>- The first one is defined as the main profile picture.</p>                                                              |
|                         |                    |                                                                                                                                                                                             |
| School                  | text               | School's name of the User.                                                                                                                                                                  |
| Search Distance         | number             | Distance preference for finding users to match.                                                                                                                                             |
| Sexual Orienation       | text               | Straight , Aromantic, Asexual , Bisexual, Demisexual, Gay, Lesbian, Omnisexual, Pansexual, Queer, Questionning ,Not listed                                                                  |
| Smoking Habits          | text               | Social smoker, Smoker when drinking, Non-smoker, Smoker ,Trying to quit                                                                                                                     |
| Subscription Active     | yes/no             | Does the user have the premium feature?                                                                                                                                                     |
| Subscription Start Date | date               | When the user started to pay for the premium plan?                                                                                                                                          |
| Super Likes             | number             | number of Super Likes                                                                                                                                                                       |
| Type                    | text               | User or Admin (access to the admin dashboard)                                                                                                                                               |
| Workout                 | text               | Every day, Often, Sometimes, ,Gym rat, Occasionnaly ,Never                                                                                                                                  |
| Zodiac                  | text               | <p>Astrology sign of the User :</p><p></p><p>Capricorn, Aquarius, Pisces, ,Aries ,Taurus, Gemini ,Cancer ,Leo, Virgo, Libra, Scorpio Sagittarius</p>                                        |
| email                   | text               | Built-in field                                                                                                                                                                              |
| Modified Date           | date               | Built-in field                                                                                                                                                                              |
| Created Date            | date               | Built-in field                                                                                                                                                                              |
| Slug                    | text               | Built-in field                                                                                                                                                                              |

## Gender

| Field         | Type | Notes          |
| ------------- | ---- | -------------- |
| Name          | text | Gender's name  |
| Creator       | User | Built-in field |
| Modified Date | date | Built-in field |
| Created Date  | date | Built-in field |
| Slug          | text | Built-in field |

## Hobby

| Field         | Type | Notes          |
| ------------- | ---- | -------------- |
| Name          | text | Gender's name  |
| Creator       | User | Built-in field |
| Modified Date | date | Built-in field |
| Created Date  | date | Built-in field |
| Slug          | text | Built-in field |

## Match

| Field                  | Type          | Notes                             |
| ---------------------- | ------------- | --------------------------------- |
| Last Message Sent Date | date          | Stores the last message sent date |
| Users                  | List of Users | Stores the users (2) in a mtatch. |
| Creator                | User          | Built-in field                    |
| Modified Date          | date          | Built-in field                    |
| Created Date           | date          | Built-in field                    |
| Slug                   | text          | Built-in field                    |

## Messages

| Field         | Type   | Notes                    |
| ------------- | ------ | ------------------------ |
| Content       | text   | Content of a message.    |
| Liked         | yes/no | Like emoji of a message. |
| Match         | Match  | See Match Data type.     |
| Creator       | User   | Built-in field           |
| Modified Date | date   | Built-in field           |
| Created Date  | date   | Built-in field           |
| Slug          | text   | Built-in field           |

## Subscription

| Field         | Type   | Notes                                 |
| ------------- | ------ | ------------------------------------- |
| Braintree Id  | text   | ID Used for the Braintree API.        |
| Monthly Price | number | Stores the price of the subscription. |
| Name          | text   | Name of the subscription.             |
| Creator       | User   | Built-in field                        |
| Modified Date | date   | Built-in field                        |
| Created Date  | date   | Built-in field                        |
| Slug          | text   | Built-in field                        |

## Super Like Pack

| Field         | Type   | Notes                                       |
| ------------- | ------ | ------------------------------------------- |
| Price         | number | Price of a Super Like Pack.                 |
| Quantity      | number | Number of Super Likes of a Super Like Pack. |
| Creator       | User   | Built-in field                              |
| Modified Date | date   | Built-in field                              |
| Created Date  | date   | Built-in field                              |
| Slug          | text   | Built-in field                              |



## States

## Page onboarding :&#x20;

| State    | Type   | Group's name           | Notes                                                                                                                                                                                                                                                                                    |
| -------- | ------ | ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Selected | yes/no | Group Selection 1 -> 6 | <p>Each group is for the selelection of the User preference in term of relationships : <br><br>Long Time Partner, Long-term open to short, Short-term open to long, Short term fun, New friends, Still figuring it out.<br><br>This will be then stored in User's data : Looking for</p> |
| step     | number | onboarding (page)      | <p>this state is changed to display the "Group Steps" in order to complete the onboarding.<br><br>The step number is changed while pressing to the "next" or "back" button.</p>                                                                                                          |
