diff options
Diffstat (limited to 'db/migrate/20210125105410_add_devops_adoption_segment_namespace_fk.rb')
-rw-r--r-- | db/migrate/20210125105410_add_devops_adoption_segment_namespace_fk.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/db/migrate/20210125105410_add_devops_adoption_segment_namespace_fk.rb b/db/migrate/20210125105410_add_devops_adoption_segment_namespace_fk.rb deleted file mode 100644 index c7c18ae69d0..00000000000 --- a/db/migrate/20210125105410_add_devops_adoption_segment_namespace_fk.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -class AddDevopsAdoptionSegmentNamespaceFk < ActiveRecord::Migration[6.0] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - disable_ddl_transaction! - - def up - add_concurrent_foreign_key :analytics_devops_adoption_segments, :namespaces, column: :namespace_id - end - - def down - remove_foreign_key_if_exists :analytics_devops_adoption_segments, :namespaces, column: :namespace_id - end -end |