debian-mirror-gitlab/db/migrate/20190606202100_add_name_to_badges.rb

12 lines
279 B
Ruby
Raw Normal View History

2020-01-01 13:55:28 +05:30
# frozen_string_literal: true
class AddNameToBadges < ActiveRecord::Migration[5.0]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def change
2020-05-24 23:13:21 +05:30
add_column :badges, :name, :string, null: true, limit: 255 # rubocop:disable Migration/PreventStrings
2020-01-01 13:55:28 +05:30
end
end