Sha256: 58ffcbed124e160bdc622b7f1f167feca339a91ecf9d4049df962be3f94f1be4

Contents?: true

Size: 317 Bytes

Versions: 22

Compression:

Stored size: 317 Bytes

Contents

# frozen_string_literal: true

class CreateWebhookTargets < ActiveRecord::Migration[5.2]
  def change
    create_table :webhook_targets do |t|
      t.string :name, null: false
      t.string :target_url, null: false
      t.string :events, null: false, array: true, index: true

      t.timestamps
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

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