mirror of
https://github.com/willchen96/mike.git
synced 2026-07-02 22:01:00 +02:00
refactor: add table primitive and migrations by date; feat: add mcp connectors
This commit is contained in:
parent
01dfcfe0d4
commit
9a1277ba99
99 changed files with 9344 additions and 2320 deletions
|
|
@ -0,0 +1,13 @@
|
|||
-- Migration date: 2026-04-27
|
||||
|
||||
-- Migration: add shared_with to tabular_reviews so standalone reviews
|
||||
-- (project_id IS NULL) can be shared by email, mirroring projects.shared_with.
|
||||
-- Project-scoped reviews continue to inherit access from their parent project.
|
||||
|
||||
alter table public.tabular_reviews
|
||||
add column if not exists shared_with jsonb not null default '[]';
|
||||
|
||||
-- Optional but worth it: a generic GIN index speeds up the contains-query
|
||||
-- the backend uses to fan out shared-review listings.
|
||||
create index if not exists tabular_reviews_shared_with_idx
|
||||
on public.tabular_reviews using gin (shared_with);
|
||||
Loading…
Add table
Add a link
Reference in a new issue