Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/post_migrate/20200810101029_add_text_limit_to_audit_event_target_type.rb')
-rw-r--r--db/post_migrate/20200810101029_add_text_limit_to_audit_event_target_type.rb20
1 files changed, 0 insertions, 20 deletions
diff --git a/db/post_migrate/20200810101029_add_text_limit_to_audit_event_target_type.rb b/db/post_migrate/20200810101029_add_text_limit_to_audit_event_target_type.rb
deleted file mode 100644
index 2a5ea9cd245..00000000000
--- a/db/post_migrate/20200810101029_add_text_limit_to_audit_event_target_type.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-class AddTextLimitToAuditEventTargetType < ActiveRecord::Migration[6.0]
- include Gitlab::Database::MigrationHelpers
- DOWNTIME = false
- SOURCE_TABLE_NAME = 'audit_events'
- PARTITIONED_TABLE_NAME = 'audit_events_part_5fc467ac26'
-
- disable_ddl_transaction!
-
- def up
- add_text_limit(SOURCE_TABLE_NAME, :target_type, 255)
- add_text_limit(PARTITIONED_TABLE_NAME, :target_type, 255)
- end
-
- def down
- remove_text_limit(SOURCE_TABLE_NAME, :target_type)
- remove_text_limit(PARTITIONED_TABLE_NAME, :target_type)
- end
-end