Data Structure

The database structure for the template

All objects and some selected fields in the template are explained below. Please refer to our Bubble Best Practices document for guidance on how the Bubble database should be structured.

All data types and a few select fields are explained below. A good general rule to follow is that you shouldn't delete any fields that are included with the template and instead only add new ones.

Bid

This data type is used to express interest in a particular Task and initiate the process of getting hired for one. A Bid is created from a task's details page and includes a bid amount. Once a bid is accepted, a user can start creating Invoices.

Block entry

This data type is used to store content that goes into each homepage block. Each homepage block (template) will have a maximum number of block entries:

  • Testimonials section: Multiple entries

  • Featured section: Up to 3 entries

  • Process section: Up to 3 entries

  • Slideshow section: Between 3 to 5 entries

  • Capabilities section: Up to 9 entries

  • Video section: 1 entry

  • Press section: Between 3 to 5 entries

  • About section: 1 entry

  • Call-to-action section: 1 entry

  • Contact section: 0 entries

Category

This data type represents a category that can be linked to a Task. Categories are not unique per task - they can be linked to any number of Tasks. Categories are created, edited, and removed by app admins from the owner’s portal.

Dummy

This data type allows you to quickly preview your page layout by it as your data source.

Feature backlog

This data type represents each feature that an Owner has added into the Backlog section of the Owner's Portal.

Flag

This data type is created each time a user chooses to flag (i.e., report) a task. This may or may not include a message. Only admin accounts can view flags.

Homepage block template

The data type is used for the homepage maker. App owners can add any number of homepage blocks / homepage sections straight from the owner's portal by starting from a homepage block template.

Homepage block

App Owners can add an unlimited number of homepage blocks. They can control the content and settings from the Owner's Portal.

Invoice

This data type represents an invoice created for a Task by the task's Freelancer. Any number of invoices can be created for a given Task if the task's Owner has accepted the Bid from an applicant. Invoice transactions involve the task's Owner as the purchaser and the task's Freelancer as the payment recipient. The recipient receives less than the overall payment amount, as a portion of that goes to the application owner in the form of a transaction fee.

Message

This data type represents a single message within a message thread. A Message is created each time a user sends a message in the chat module.

Palette color

This data type is color palette list is referenced in the Air Color Picker plugin / element. Feel free to add more color entries for quick access when using the Air Color Picker element.

Push token

This represents a unique token to be used with OneSignal for push notification integrations for wrapped mobile apps.

Review

This data type represents a user-written review for another user. After a user completes a task, that user - the Task's Freelancer - has the ability to create a review for the Employer. Similarly, the Employer has the ability to create a review for the Freelancer.

Task

This data type represents a user-created task on the platform. Task owners specify basic information, including a price range estimate, and indicate whether they are currently looking to hire someone for the task. Tasks are publicly searchable and viewable on the platform, but users must register as a seller before applying for one.

Thread

This data type represents a message thread between two users. All messages sent within this thread are linked to this thread.

User

The user data type represents each person who has an account in your application.

Website

This data type includes fields for all app-wide settings. Most of the data fields are controlled by the App Owner from the Owner's portal. There should only be a single object of this data type.

Last updated