Sha256: 759b204a073d4b82731b36295bae7f5d557ceaa1eaf0dbdde38f9be8ba242906

Contents?: true

Size: 352 Bytes

Versions: 30

Compression:

Stored size: 352 Bytes

Contents

Sequel.migration do
  up do
    alter_table(:triggered_webhooks) do
      add_column(:uuid, String)
      add_index [:uuid], name: "triggered_webhooks_uuid", unique: true
    end
  end

  down do
    alter_table(:triggered_webhooks) do
      drop_index([:uuid], name: "triggered_webhooks_uuid", unique: true)
      drop_column(:uuid)
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

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