debian-mirror-gitlab/db/migrate/20190606202100_add_name_to_badges.rb
2020-05-24 23:13:21 +05:30

11 lines
279 B
Ruby

# 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