summaryrefslogtreecommitdiff
path: root/db/migrate/20191208110214_add_suggestion_commit_message_to_projects.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-13 12:08:04 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-13 12:08:04 +0000
commiteb30dd6e28f6fc9eb8021d205f6ed84511f001e2 (patch)
tree9557e4782c762f4d08f57c9e04991bf988695085 /db/migrate/20191208110214_add_suggestion_commit_message_to_projects.rb
parentc3ad57034cc1cbd6d0ad02de7ac57f6004440c83 (diff)
downloadgitlab-ce-eb30dd6e28f6fc9eb8021d205f6ed84511f001e2.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db/migrate/20191208110214_add_suggestion_commit_message_to_projects.rb')
-rw-r--r--db/migrate/20191208110214_add_suggestion_commit_message_to_projects.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20191208110214_add_suggestion_commit_message_to_projects.rb b/db/migrate/20191208110214_add_suggestion_commit_message_to_projects.rb
new file mode 100644
index 00000000000..c4344cf212c
--- /dev/null
+++ b/db/migrate/20191208110214_add_suggestion_commit_message_to_projects.rb
@@ -0,0 +1,9 @@
+# frozen_string_literal: true
+
+class AddSuggestionCommitMessageToProjects < ActiveRecord::Migration[5.2]
+ DOWNTIME = false
+
+ def change
+ add_column :projects, :suggestion_commit_message, :string, limit: 255
+ end
+end