CREATE TABLE message_dedup (
   room_id    uuid,
   uid        text,
   content_md5 text,
   bucket_sec bigint,
   PRIMARY KEY ((room_id, uid), bucket_sec, content_md5)
) WITH default_time_to_live = 2;

