Sha256: a988690ad6cadc34e7271bea3dbdf696a24c82858fe33809fc4c351e4eaf1d8a

Contents?: true

Size: 391 Bytes

Versions: 45

Compression:

Stored size: 391 Bytes

Contents

require_relative "migration_helper"

Sequel.migration do
  change do
    create_table(:webhook_events, charset: "utf8") do
      primary_key :id
      foreign_key :webhook_id, :webhooks, on_delete: :cascade
      String :name
      DateTime :created_at, null: false
      DateTime :updated_at, null: false
      index [:id, :name], unique: true, name: "uq_webhook_id_name"
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
pact_broker-2.113.0 db/migrations/20171117_create_webhook_events.rb
pact_broker-2.112.0 db/migrations/20171117_create_webhook_events.rb
pact_broker-2.111.0 db/migrations/20171117_create_webhook_events.rb
pact_broker-2.109.1 db/migrations/20171117_create_webhook_events.rb
pact_broker-2.109.0 db/migrations/20171117_create_webhook_events.rb
pact_broker-2.108.0 db/migrations/20171117_create_webhook_events.rb
pact_broker-2.107.1 db/migrations/20171117_create_webhook_events.rb
pact_broker-2.107.0 db/migrations/20171117_create_webhook_events.rb
pact_broker-2.107.0.beta.1 db/migrations/20171117_create_webhook_events.rb
pact_broker-2.106.0 db/migrations/20171117_create_webhook_events.rb
pact_broker-2.105.0 db/migrations/20171117_create_webhook_events.rb
pact_broker-2.104.0 db/migrations/20171117_create_webhook_events.rb
pact_broker-2.103.0 db/migrations/20171117_create_webhook_events.rb
pact_broker-2.102.2 db/migrations/20171117_create_webhook_events.rb
pact_broker-2.102.1 db/migrations/20171117_create_webhook_events.rb
pact_broker-2.102.0 db/migrations/20171117_create_webhook_events.rb
pact_broker-2.101.0 db/migrations/20171117_create_webhook_events.rb
pact_broker-2.100.0 db/migrations/20171117_create_webhook_events.rb
pact_broker-2.99.0 db/migrations/20171117_create_webhook_events.rb
pact_broker-2.98.0 db/migrations/20171117_create_webhook_events.rb