Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20190606202100_add_name_to_badges.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 472e1202ad86c18d230cb8939c112e6fb4423523 (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
  end
end