Add default TTL to the messages DB table
This commit is contained in:
@@ -81,7 +81,7 @@ CREATE TYPE IF NOT EXISTS payphone.message (
|
||||
is_deleted BOOLEAN,
|
||||
is_edited BOOLEAN,
|
||||
is_censored BOOLEAN,
|
||||
);
|
||||
) WITH default_time_to_live = 2592000; -- 30 days
|
||||
|
||||
-- TTL 30 days.
|
||||
CREATE TABLE IF NOT EXISTS payphone.messages (
|
||||
|
||||
@@ -45,3 +45,5 @@ pedo
|
||||
pdf
|
||||
pdfile
|
||||
blackie
|
||||
motherfucker
|
||||
mf
|
||||
Reference in New Issue
Block a user