Fix misapplied TTL

This commit is contained in:
2025-08-14 18:25:53 -03:00
parent 8432cb78fa
commit eb6dcb4604
+3 -3
View File
@@ -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,