diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-11-05 16:33:51 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-11-08 15:31:39 +0000 |
commit | 7a39608ab48c8fd3fa2c5a8061b42ee8f9869973 (patch) | |
tree | aa51d01235cde53fd408348f2439121e22beab65 /bin | |
parent | eb68c3fa83ce8796a69429c83adedddba64c7cdc (diff) |
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.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/update-schema | 1 |
1 files changed, 1 insertions, 0 deletions
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'); |