Level 1
Bubble Database, Workflows & User Roles
How Bubble handles real data, business logic, and permissions.
Lesson Notes
Bubble's database uses "data types" (like tables) and "fields" (like columns). Relationships between types use "linked fields" — e.g., a Task has a "created_by" field of type User. Workflows are Bubble's version of code: "When button clicked → Create a new Task → Set title to Input's value." Privacy rules (under Data tab) control who can read or write each type — always set these before going live.
Your Challenge
+15 XPIn your Bubble app, create a data type called "Task" with fields: title (text), done (boolean), created_by (User). Build a workflow that creates a new Task when a button is clicked, and display all tasks for the current user in a repeating group.