From 7a39608ab48c8fd3fa2c5a8061b42ee8f9869973 Mon Sep 17 00:00:00 2001 From: Matthew Somerville 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. --- bin/update-schema | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/update-schema') diff --git a/bin/update-schema b/bin/update-schema index 3f4b2bafe..4755142bb 100755 --- a/bin/update-schema +++ b/bin/update-schema @@ -212,6 +212,7 @@ else { # (assuming schema change files are never half-applied, which should be the case) sub get_db_version { return 'EMPTY' if ! table_exists('problem'); + return '0069' if constraint_contains('admin_log_object_type_check', 'template'); return '0068' if column_exists('users', 'oidc_ids'); return '0067' if table_exists('roles'); return '0066' if column_exists('users', 'area_ids'); -- cgit v1.2.3