status-go/protocol/migrations/sqlite/1665079662_add_spectated_column_in_communities.up.sql
Patryk Osmaczko 73a45dd58e feat: add SpectateCommunity api
- added `SpectateCommunity` endpoint, it is supposed to be used in
  scenarios where we want to "Go to public Community" and see its
  content without joining
- added `spectated` field to `Community`, it means we are observing the
  community and its chats but we are not members

Use case:
https://github.com/status-im/status-desktop/issues/7072#issuecomment-1246560885
2022-10-06 21:21:37 +02:00

2 lines
86 B
SQL

ALTER TABLE communities_communities ADD COLUMN spectated BOOL NOT NULL DEFAULT FALSE;