mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-13 18:03:10 -06:00
More comments
This commit is contained in:
parent
da858d6b65
commit
9dcd71745b
|
|
@ -25,10 +25,11 @@ import (
|
||||||
const joinedHostsSchema = `
|
const joinedHostsSchema = `
|
||||||
-- The joined_hosts table stores a list of m.room.member event ids in the
|
-- The joined_hosts table stores a list of m.room.member event ids in the
|
||||||
-- current state for each room where the membership is "join".
|
-- current state for each room where the membership is "join".
|
||||||
|
-- There will be an entry for every user that is joined to the room.
|
||||||
CREATE TABLE IF NOT EXISTS joined_hosts (
|
CREATE TABLE IF NOT EXISTS joined_hosts (
|
||||||
-- The string ID of the room.
|
-- The string ID of the room.
|
||||||
room_id TEXT NOT NULL,
|
room_id TEXT NOT NULL,
|
||||||
-- The event ID of the m.room.member
|
-- The event ID of the m.room.member join event.
|
||||||
event_id TEXT NOT NULL,
|
event_id TEXT NOT NULL,
|
||||||
-- The domain part of the user ID the m.room.member event is for.
|
-- The domain part of the user ID the m.room.member event is for.
|
||||||
server_name TEXT NOT NULL
|
server_name TEXT NOT NULL
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue