summaryrefslogtreecommitdiff
path: root/db/post_migrate/20220120094340_drop_position_from_security_findings.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-05-05 01:22:57 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-05-05 01:22:57 +0000
commit7fa016711e540f9b6dda45aa1f47867737c52940 (patch)
tree545fa4ba39a17df75301c6c90d7aef1e77cba98d /db/post_migrate/20220120094340_drop_position_from_security_findings.rb
parentee3c8d00bd8c17201da0b116a9b3b276804b855f (diff)
downloadgitlab-ce-7fa016711e540f9b6dda45aa1f47867737c52940.tar.gz
Add latest changes from gitlab-org/gitlab@15-11-stable-ee
Diffstat (limited to 'db/post_migrate/20220120094340_drop_position_from_security_findings.rb')
-rw-r--r--db/post_migrate/20220120094340_drop_position_from_security_findings.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/post_migrate/20220120094340_drop_position_from_security_findings.rb b/db/post_migrate/20220120094340_drop_position_from_security_findings.rb
new file mode 100644
index 00000000000..56af346ad1b
--- /dev/null
+++ b/db/post_migrate/20220120094340_drop_position_from_security_findings.rb
@@ -0,0 +1,9 @@
+# frozen_string_literal: true
+
+class DropPositionFromSecurityFindings < Gitlab::Database::Migration[1.0]
+ enable_lock_retries!
+
+ def change
+ remove_column :security_findings, :position, :integer
+ end
+end