docs(database): dm_channels.name + icon + metadata_updated_at

This commit is contained in:
Jannis Braun
2026-05-10 20:57:05 +02:00
parent 94a1d28a4c
commit f499176c01
+3
View File
@@ -154,6 +154,9 @@ PK: id
| ownerHomeInstance | text | | Owner's home instance URL |
| deletedAt | integer | | Soft-delete (GC after 24h if no local members) |
| createdAt | integer NOT NULL | | |
| name | text | | Group DM custom name. NULL = use comma-joined member fallback. Owner-only writes. |
| icon | text | | Group DM custom icon. NULL = use AvatarStack fallback. Owner instance stores bare filename; receivers store bare filename on download success or absolute URL on fallback. |
| metadataUpdatedAt | integer NOT NULL | 0 | Server-side version vector for `group_metadata_update` federation dedup. Captured at the moment of the owner-instance DB write; default 0 means "any rename wins". |
### dm_members
PK: (dmChannelId, userId)