summaryrefslogtreecommitdiff
path: root/db/migrate/20190606202100_add_name_to_badges.rb
blob: 7b386a6e6902de550ba0f3bf4ecd4cf33f55da08 (plain)
1
2
3
4
5
6
7
8
9
10
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 # rubocop:disable Migration/PreventStrings
  end
end