debian-mirror-gitlab/db/migrate/20190625115224_add_description_to_services.rb

15 lines
418 B
Ruby
Raw Normal View History

2019-09-30 21:07:59 +05:30
# frozen_string_literal: true
2016-09-29 09:46:39 +05:30
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.
2019-09-30 21:07:59 +05:30
class AddDescriptionToServices < ActiveRecord::Migration[5.1]
2016-09-29 09:46:39 +05:30
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def change
2020-05-24 23:13:21 +05:30
add_column :services, :description, :string, limit: 500 # rubocop:disable Migration/PreventStrings
2016-09-29 09:46:39 +05:30
end
end