Fix misapplied TTL
This commit is contained in:
@@ -80,8 +80,8 @@ CREATE TYPE IF NOT EXISTS payphone.message (
|
|||||||
|
|
||||||
is_deleted BOOLEAN,
|
is_deleted BOOLEAN,
|
||||||
is_edited BOOLEAN,
|
is_edited BOOLEAN,
|
||||||
is_censored BOOLEAN,
|
is_censored BOOLEAN
|
||||||
) WITH default_time_to_live = 2592000; -- 30 days
|
);
|
||||||
|
|
||||||
-- TTL 30 days.
|
-- TTL 30 days.
|
||||||
CREATE TABLE IF NOT EXISTS payphone.messages (
|
CREATE TABLE IF NOT EXISTS payphone.messages (
|
||||||
@@ -92,7 +92,7 @@ CREATE TABLE IF NOT EXISTS payphone.messages (
|
|||||||
data FROZEN<payphone.message>,
|
data FROZEN<payphone.message>,
|
||||||
|
|
||||||
PRIMARY KEY (call_id, message_id)
|
PRIMARY KEY (call_id, message_id)
|
||||||
);
|
) WITH default_time_to_live = 2592000; -- 30 days
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS payphone.servers (
|
CREATE TABLE IF NOT EXISTS payphone.servers (
|
||||||
server_id BIGINT PRIMARY KEY,
|
server_id BIGINT PRIMARY KEY,
|
||||||
|
|||||||
Reference in New Issue
Block a user