dashboard_bookmark


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id int4 10 √ null

{“what”:“Unique numeric identifier for each bookmark row.”,“why”:“Without it, bookmarks cannot be uniquely referenced for deletion or updates.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T00:03:15.180672059+00:00”}

user_id int4 10 null
core_user.id fk_dashboard_bookmark_user_id C

{“what”:“ID of the user who created the bookmark.”,“why”:“Without it, we cannot tell which user owns the bookmark.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T00:03:15.194495009+00:00”}

dashboard_id int4 10 null
report_dashboard.id fk_dashboard_bookmark_dashboard_id C

{“what”:“ID of the dashboard that is bookmarked.”,“why”:“Without it, we cannot tell which dashboard is bookmarked.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T00:03:15.209859112+00:00”}

created_at timestamptz 35,6 now()

{“what”:“Timestamp when the bookmark was created, in UTC.”,“why”:“Without it, we cannot order bookmarks by creation time or audit when they were added.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T00:03:15.223907808+00:00”}

Indexes

Constraint Name Type Sort Column(s)
dashboard_bookmark_pkey Primary key Asc id
idx_dashboard_bookmark_dashboard_id Performance Asc dashboard_id
idx_dashboard_bookmark_user_id Performance Asc user_id
unique_dashboard_bookmark_user_id_dashboard_id Must be unique Asc/Asc user_id + dashboard_id

Relationships