Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20201214113729_add_custom_mapping_columns_to_http_integrations.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dbad28280ac815ab31343581904d2f0d54ee3e96 (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

class AddCustomMappingColumnsToHttpIntegrations < ActiveRecord::Migration[6.0]
  DOWNTIME = false

  def change
    add_column :alert_management_http_integrations, :payload_example, :jsonb, null: false, default: {}
    add_column :alert_management_http_integrations, :payload_attribute_mapping, :jsonb, null: false, default: {}
  end
end