Files
tessera/drizzle/migrations/meta/_journal.json
Gjermund Høsøien Wiggen 3616046b78 feat: add teams/groups with dashboard scoping
Schema:
- teams table (name unique, description)
- team_members table (team_id, user_id, unique constraint)
- team_id column on dashboards

API:
- GET/POST/PATCH/DELETE /teams
- POST /teams/:id/members (add user)
- DELETE /teams/:id/members/:userId (remove user)
- dashboards support team_id on create/update

Frontend:
- Teams tab in admin: CRUD + member management with add/remove
- Sidebar: dashboards filtered to user's teams
  (unassigned dashboards visible to all)
- Compact dashboard picker dropdown in sidebar

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-09 13:32:39 +02:00

48 lines
949 B
JSON

{
"version": "7",
"dialect": "postgresql",
"entries": [
{
"idx": 0,
"version": "7",
"when": 1780859982396,
"tag": "0000_acoustic_wendell_vaughn",
"breakpoints": true
},
{
"idx": 1,
"version": "7",
"when": 1780867177929,
"tag": "0001_lovely_quentin_quire",
"breakpoints": true
},
{
"idx": 2,
"version": "7",
"when": 1780904200000,
"tag": "0002_short_custom_field_keys",
"breakpoints": true
},
{
"idx": 3,
"version": "7",
"when": 1780995910694,
"tag": "0003_dry_caretaker",
"breakpoints": true
},
{
"idx": 4,
"version": "7",
"when": 1780996807814,
"tag": "0004_sturdy_natasha_romanoff",
"breakpoints": true
},
{
"idx": 5,
"version": "7",
"when": 1781004398567,
"tag": "0005_spotty_leader",
"breakpoints": true
}
]
}