CREATE TABLE IF NOT EXISTS room_member (
    room UUID NOT NULL,
    "user" UUID NOT NULL,
    role VARCHAR(255) NOT NULL,
    first_msg_in TIMESTAMPTZ,
    joined_at TIMESTAMPTZ,
    last_read_seq BIGINT,
    PRIMARY KEY (room, "user")
);
