Sha256: 47ef4500107b8cdd1624ac4c729ea513aaf7239c955064a3247959c8001ec82b

Contents?: true

Size: 225 Bytes

Versions: 22

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

22 entries across 22 versions & 1 rubygems

Version Path
foreman_webhooks-4.0.0 db/migrate/20201109135301_add_http_headers.rb
foreman_webhooks-3.2.3 db/migrate/20201109135301_add_http_headers.rb
foreman_webhooks-3.2.2 db/migrate/20201109135301_add_http_headers.rb
foreman_webhooks-3.1.1 db/migrate/20201109135301_add_http_headers.rb
foreman_webhooks-3.2.1 db/migrate/20201109135301_add_http_headers.rb
foreman_webhooks-3.2.0 db/migrate/20201109135301_add_http_headers.rb
foreman_webhooks-3.1.0 db/migrate/20201109135301_add_http_headers.rb
foreman_webhooks-3.0.5 db/migrate/20201109135301_add_http_headers.rb
foreman_webhooks-2.0.3 db/migrate/20201109135301_add_http_headers.rb
foreman_webhooks-3.0.4 db/migrate/20201109135301_add_http_headers.rb
foreman_webhooks-2.0.2 db/migrate/20201109135301_add_http_headers.rb
foreman_webhooks-3.0.3 db/migrate/20201109135301_add_http_headers.rb
foreman_webhooks-3.0.2 db/migrate/20201109135301_add_http_headers.rb
foreman_webhooks-3.0.1 db/migrate/20201109135301_add_http_headers.rb
foreman_webhooks-2.0.1 db/migrate/20201109135301_add_http_headers.rb
foreman_webhooks-3.0.0 db/migrate/20201109135301_add_http_headers.rb
foreman_webhooks-2.0.0 db/migrate/20201109135301_add_http_headers.rb
foreman_webhooks-1.1.0 db/migrate/20201109135301_add_http_headers.rb
foreman_webhooks-1.0.0 db/migrate/20201109135301_add_http_headers.rb
foreman_webhooks-0.0.3 db/migrate/20201109135301_add_http_headers.rb