debian-mirror-gitlab/db/migrate/20190625115224_add_description_to_services.rb
2020-05-25 16:23:42 +05:30

14 lines
418 B
Ruby

# frozen_string_literal: true
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.
class AddDescriptionToServices < ActiveRecord::Migration[5.1]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def change
add_column :services, :description, :string, limit: 500 # rubocop:disable Migration/PreventStrings
end
end