Skip to content

Instantly share code, notes, and snippets.

@vishnevskiy
Last active January 4, 2023 01:00
CREATE TABLE messages (
  channel_id bigint,
message_id bigint,
author_id bigint,
content text,
PRIMARY KEY (channel_id, message_id)
) WITH CLUSTERING ORDER BY (message_id DESC);
@aramodi
Copy link

aramodi commented Jul 24, 2020

nice

@Rubix982
Copy link

Thank you!

@theletter-zee
Copy link

Ah. Interesting

@mewmutt
Copy link

mewmutt commented Jan 4, 2023

Very cool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment