create table if not exists room_pin
(
    room      uuid                     not null,
    message   uuid                     not null,
    pinned_by uuid                     not null,
    pinned_at timestamp with time zone not null,
    primary key (room, message)
);
