summaryrefslogtreecommitdiff
path: root/db/migrate/20200716044023_add_entity_path_to_audit_events.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20200716044023_add_entity_path_to_audit_events.rb')
-rw-r--r--db/migrate/20200716044023_add_entity_path_to_audit_events.rb21
1 files changed, 0 insertions, 21 deletions
diff --git a/db/migrate/20200716044023_add_entity_path_to_audit_events.rb b/db/migrate/20200716044023_add_entity_path_to_audit_events.rb
deleted file mode 100644
index d16bfaa0beb..00000000000
--- a/db/migrate/20200716044023_add_entity_path_to_audit_events.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class AddEntityPathToAuditEvents < ActiveRecord::Migration[6.0]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- def up
- with_lock_retries do
- # rubocop:disable Migration/AddLimitToTextColumns
- add_column(:audit_events, :entity_path, :text)
- # rubocop:enable Migration/AddLimitToTextColumns
- end
- end
-
- def down
- with_lock_retries do
- remove_column(:audit_events, :entity_path)
- end
- end
-end