From 7a39608ab48c8fd3fa2c5a8061b42ee8f9869973 Mon Sep 17 00:00:00 2001
From: Matthew Somerville <matthew@mysociety.org>
Date: Tue, 5 Nov 2019 16:33:51 +0000
Subject: Add admin log entry for more objects and things.

Namely templates, roles, bodies, categories, various user edits,
and when using the inspect form and changing category.
---
 db/schema.sql | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'db/schema.sql')

diff --git a/db/schema.sql b/db/schema.sql
index a211ef50d..cf2914467 100644
--- a/db/schema.sql
+++ b/db/schema.sql
@@ -445,6 +445,10 @@ create table admin_log (
       or object_type = 'update'
       or object_type = 'user'
       or object_type = 'moderation'
+      or object_type = 'template'
+      or object_type = 'body'
+      or object_type = 'category'
+      or object_type = 'role'
     ),
     object_id integer not null,
     action text not null,
-- 
cgit v1.2.3

