Skip to content

Commit 7e980de

Browse files
authored
Update database-schema.md (#22)
1 parent bae91dc commit 7e980de

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

documentation/architecture/database-schema.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
The database is built on **PostgreSQL** (hosted via Supabase) and is strictly secured using **Row Level Security (RLS)**.
44

5+
### Database ERD
6+
7+
<img width="1247" height="620" alt="image" src="https://github.com/user-attachments/assets/30b4850d-744e-4c80-bcc8-d225be763d16" />
58

69

710
### Core Database Dictionary
@@ -16,4 +19,4 @@ The database is built on **PostgreSQL** (hosted via Supabase) and is strictly se
1619
| **`reminder`** | Scheduling entity for push notifications. | `1:N` with `task`. |
1720

1821
### Security Architecture
19-
* **Row Level Security (RLS):** Every core table contains a `profile_id`. RLS policies are enforced at the database level so users can only `SELECT`, `INSERT`, `UPDATE`, or `DELETE` their own data.
22+
* **Row Level Security (RLS):** Every core table contains a `profile_id`. RLS policies are enforced at the database level so users can only `SELECT`, `INSERT`, `UPDATE`, or `DELETE` their own data.

0 commit comments

Comments
 (0)