Sha256: 47ef4500107b8cdd1624ac4c729ea513aaf7239c955064a3247959c8001ec82b

Contents?: true

Size: 225 Bytes

Versions: 23

Compression:

Stored size: 225 Bytes

Contents

# frozen_string_literal: true

class AddHttpHeaders < ActiveRecord::Migration[6.0]
  def change
    # HTTP headers stored as JSON: {"header_name": "value"}
    add_column :webhooks, :http_headers, :text, null: true
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
foreman_webhooks-0.0.3 db/migrate/20201109135301_add_http_headers.rb
foreman_webhooks-0.0.2 db/migrate/20201109135301_add_http_headers.rb
foreman_webhooks-0.0.1 db/migrate/20201109135301_add_http_headers.rb