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: 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