diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-08-25 20:39:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-25 20:39:40 +0200 |
commit | 0396acf39ea902688374fac65fa7ef5dc4c05512 (patch) | |
tree | f5349303e930976f8accd22453dd4bc5024c32f5 /db/post_migrate | |
parent | 99aed9069d4319d53779c483142e6649f3fef17b (diff) |
Add audit log entries for user roles (#19040)
* Refactor audit log schema * Add audit log entries for user roles
Diffstat (limited to 'db/post_migrate')
-rw-r--r-- | db/post_migrate/20220824164532_remove_recorded_changes_from_admin_action_logs.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/post_migrate/20220824164532_remove_recorded_changes_from_admin_action_logs.rb b/db/post_migrate/20220824164532_remove_recorded_changes_from_admin_action_logs.rb new file mode 100644 index 000000000..c42d5df8f --- /dev/null +++ b/db/post_migrate/20220824164532_remove_recorded_changes_from_admin_action_logs.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +class RemoveRecordedChangesFromAdminActionLogs < ActiveRecord::Migration[5.2] + disable_ddl_transaction! + + def change + safety_assured { remove_column :admin_action_logs, :recorded_changes, :text } + end +end |