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/migrate/20240116161955_add_name_and_description_to_web_hooks.rb')
-rw-r--r--db/migrate/20240116161955_add_name_and_description_to_web_hooks.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20240116161955_add_name_and_description_to_web_hooks.rb b/db/migrate/20240116161955_add_name_and_description_to_web_hooks.rb
new file mode 100644
index 00000000000..b1360fa4aa2
--- /dev/null
+++ b/db/migrate/20240116161955_add_name_and_description_to_web_hooks.rb
@@ -0,0 +1,13 @@
+# frozen_string_literal: true
+
+class AddNameAndDescriptionToWebHooks < Gitlab::Database::Migration[2.2]
+ milestone '16.9'
+
+ # rubocop:disable Migration/AddLimitToTextColumns -- limit is added in
+ # db/migrate/20240116162201_add_text_limit_to_web_hooks_attributes.rb
+ def change
+ add_column :web_hooks, :name, :text
+ add_column :web_hooks, :description, :text
+ end
+ # rubocop:enable Migration/AddLimitToTextColumns
+end