gitlab-org--gitlab-foss/db/migrate/20190606202100_add_name_to_badges.rb

12 lines
279 B
Ruby
Raw Normal View History

# 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