diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-22 12:06:20 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-22 12:06:20 +0300 |
commit | 8a3fdede9607c806d88856d46d4f5394b630a006 (patch) | |
tree | 869139549ac3bd687fcf1286d6dd50b1d785702e /db/migrate/20190606202100_add_name_to_badges.rb | |
parent | 8e75748aabcbcea411f8bbc68936805bc2b5ff0c (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.rb | 11 |
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 |