summaryrefslogtreecommitdiff
path: root/db/migrate/20190625115224_add_description_to_services.rb
blob: bdd6d70cb0f2123cea45b465d56205e11ae5da5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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