lazy_retention
This commit is contained in:
@@ -512,6 +512,19 @@ CREATE TABLE IF NOT EXISTS operation_log_settings (
|
||||
retention_mode TEXT DEFAULT 'days',
|
||||
retention_days INTEGER DEFAULT 30,
|
||||
retention_lines INTEGER DEFAULT 5000,
|
||||
retention_interval_hours INTEGER DEFAULT 24,
|
||||
job_retention_mode TEXT DEFAULT 'days',
|
||||
job_retention_days INTEGER DEFAULT 7,
|
||||
job_retention_lines INTEGER DEFAULT 2000,
|
||||
job_retention_interval_hours INTEGER DEFAULT 24,
|
||||
job_last_retention_run_at TEXT,
|
||||
job_last_retention_deleted INTEGER DEFAULT 0,
|
||||
operation_retention_mode TEXT DEFAULT 'days',
|
||||
operation_retention_days INTEGER DEFAULT 30,
|
||||
operation_retention_lines INTEGER DEFAULT 5000,
|
||||
operation_retention_interval_hours INTEGER DEFAULT 24,
|
||||
operation_last_retention_run_at TEXT,
|
||||
operation_last_retention_deleted INTEGER DEFAULT 0,
|
||||
created_at TEXT NOT NULL,
|
||||
updated_at TEXT NOT NULL,
|
||||
PRIMARY KEY(user_id, profile_id)
|
||||
|
||||
Reference in New Issue
Block a user