Sha256: 58050e3540295ff8c96a6565ba4d79d0aef39c3b5b7e4c46db86455fae1c46c8

Contents?: true

Size: 531 Bytes

Versions: 44

Compression:

Stored size: 531 Bytes

Contents

require_relative "migration_helper"

Sequel.migration do
  change do
    create_table(:webhook_executions, charset: "utf8") do
      primary_key :id
      foreign_key :webhook_id, :webhooks
      foreign_key :pact_publication_id, :pact_publications
      foreign_key :consumer_id, :pacticipants, null: false
      foreign_key :provider_id, :pacticipants, null: false
      Boolean :success, null: false
      String :logs, type: PactBroker::MigrationHelper.large_text_type
      DateTime :created_at, null: false
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
pact_broker-2.96.0 db/migrations/000036_create_webhook_execution.rb
pact_broker-2.95.1 db/migrations/000036_create_webhook_execution.rb
pact_broker-2.95.0 db/migrations/000036_create_webhook_execution.rb
pact_broker-2.94.0 db/migrations/000036_create_webhook_execution.rb
pact_broker-2.93.4 db/migrations/000036_create_webhook_execution.rb
pact_broker-2.93.3 db/migrations/000036_create_webhook_execution.rb
pact_broker-2.93.2 db/migrations/000036_create_webhook_execution.rb
pact_broker-2.93.1 db/migrations/000036_create_webhook_execution.rb
pact_broker-2.93.0 db/migrations/000036_create_webhook_execution.rb
pact_broker-2.92.0 db/migrations/000036_create_webhook_execution.rb
pact_broker-2.91.0 db/migrations/000036_create_webhook_execution.rb
pact_broker-2.90.0 db/migrations/000036_create_webhook_execution.rb
pact_broker-2.89.1 db/migrations/000036_create_webhook_execution.rb
pact_broker-2.89.0 db/migrations/000036_create_webhook_execution.rb
pact_broker-2.88.0 db/migrations/000036_create_webhook_execution.rb
pact_broker-2.87.0 db/migrations/000036_create_webhook_execution.rb
pact_broker-2.86.0 db/migrations/000036_create_webhook_execution.rb
pact_broker-2.85.1 db/migrations/000036_create_webhook_execution.rb
pact_broker-2.85.0 db/migrations/000036_create_webhook_execution.rb
pact_broker-2.84.0 db/migrations/000036_create_webhook_execution.rb