summaryrefslogtreecommitdiff
path: root/db/post_migrate/20211210173137_remove_vulnerability_finding_links_again.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/post_migrate/20211210173137_remove_vulnerability_finding_links_again.rb')
-rw-r--r--db/post_migrate/20211210173137_remove_vulnerability_finding_links_again.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/db/post_migrate/20211210173137_remove_vulnerability_finding_links_again.rb b/db/post_migrate/20211210173137_remove_vulnerability_finding_links_again.rb
new file mode 100644
index 00000000000..ffe8bf0d794
--- /dev/null
+++ b/db/post_migrate/20211210173137_remove_vulnerability_finding_links_again.rb
@@ -0,0 +1,14 @@
+# frozen_string_literal: true
+
+class RemoveVulnerabilityFindingLinksAgain < Gitlab::Database::Migration[1.0]
+ # This migration has been moved to a TRUNCATE in db/post_migrate/20220201193033_add_unique_index_to_vulnerability_finding_links_with_truncate.rb
+ # Previously, this was causing an bug where there was a conflict between the table cleanup and the index creation.
+
+ def up
+ # no op
+ end
+
+ def down
+ # no op
+ end
+end