change the order of message table and remove the time to live (#132)
This commit is contained in:
parent
3e11147ab5
commit
5899177f57
|
@ -25,7 +25,7 @@ var tables []string = []string{
|
|||
ut double,
|
||||
l text,
|
||||
PRIMARY KEY ((channel), id)
|
||||
) WITH default_time_to_live = 86400`,
|
||||
) WITH CLUSTERING ORDER BY (id DESC)`,
|
||||
}
|
||||
|
||||
// Connect establishes connection to the Cassandra cluster.
|
||||
|
|
Loading…
Reference in New Issue