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:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-11-22 12:06:20 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-11-22 12:06:20 +0300
commit8a3fdede9607c806d88856d46d4f5394b630a006 (patch)
tree869139549ac3bd687fcf1286d6dd50b1d785702e /db/migrate/20190606202100_add_name_to_badges.rb
parent8e75748aabcbcea411f8bbc68936805bc2b5ff0c (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db/migrate/20190606202100_add_name_to_badges.rb')
-rw-r--r--db/migrate/20190606202100_add_name_to_badges.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20190606202100_add_name_to_badges.rb b/db/migrate/20190606202100_add_name_to_badges.rb
new file mode 100644
index 00000000000..472e1202ad8
--- /dev/null
+++ b/db/migrate/20190606202100_add_name_to_badges.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+class AddNameToBadges < ActiveRecord::Migration[5.0]
+ include Gitlab::Database::MigrationHelpers
+
+ DOWNTIME = false
+
+ def change
+ add_column :badges, :name, :string, null: true, limit: 255
+ end
+end