Skip to content

Commit

Permalink
create script with correct clustering order
Browse files Browse the repository at this point in the history
  • Loading branch information
henrod committed May 22, 2018
1 parent be4a6a5 commit 0505ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/create.cql
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ CREATE TABLE IF NOT EXISTS chat.messages (
payload varchar,
bucket int,
PRIMARY KEY ((topic, bucket), id)
);
) WITH CLUSTERING ORDER BY (id ASC);

0 comments on commit 0505ad7

Please sign in to comment.