summaryrefslogtreecommitdiff
path: root/db/migrate/20220105082217_add_verification_token_to_external_ae_destinations.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/migrate/20220105082217_add_verification_token_to_external_ae_destinations.rb
parentee3c8d00bd8c17201da0b116a9b3b276804b855f (diff)
downloadgitlab-ce-7fa016711e540f9b6dda45aa1f47867737c52940.tar.gz
Add latest changes from gitlab-org/gitlab@15-11-stable-ee
Diffstat (limited to 'db/migrate/20220105082217_add_verification_token_to_external_ae_destinations.rb')
-rw-r--r--db/migrate/20220105082217_add_verification_token_to_external_ae_destinations.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20220105082217_add_verification_token_to_external_ae_destinations.rb b/db/migrate/20220105082217_add_verification_token_to_external_ae_destinations.rb
new file mode 100644
index 00000000000..046a628b8ae
--- /dev/null
+++ b/db/migrate/20220105082217_add_verification_token_to_external_ae_destinations.rb
@@ -0,0 +1,13 @@
+# frozen_string_literal: true
+
+class AddVerificationTokenToExternalAeDestinations < Gitlab::Database::Migration[1.0]
+ def up
+ # rubocop:disable Migration/AddLimitToTextColumns
+ add_column :audit_events_external_audit_event_destinations, :verification_token, :text
+ # rubocop:enable Migration/AddLimitToTextColumns
+ end
+
+ def down
+ remove_column :audit_events_external_audit_event_destinations, :verification_token
+ end
+end