Sha256: fdd8415837a056e025d2dc17e31a8f8ad0eb28663c8c7127f989b177863bbd28

Contents?: true

Size: 279 Bytes

Versions: 99

Compression:

Stored size: 279 Bytes

Contents

Sequel.migration do
  up do
    from(:triggered_webhooks).where(trigger_type: 'pact_publication').update(trigger_type: 'resource_creation')
  end

  down do
    from(:triggered_webhooks).where(trigger_type: 'resource_creation').update(trigger_type: 'pact_publication')
  end
end

Version data entries

99 entries across 99 versions & 1 rubygems

Version Path
pact_broker-2.79.1 db/migrations/20180109_migrate_trigger_type.rb
pact_broker-2.79.0 db/migrations/20180109_migrate_trigger_type.rb
pact_broker-2.78.1 db/migrations/20180109_migrate_trigger_type.rb
pact_broker-2.78.0 db/migrations/20180109_migrate_trigger_type.rb
pact_broker-2.77.0 db/migrations/20180109_migrate_trigger_type.rb
pact_broker-2.76.2 db/migrations/20180109_migrate_trigger_type.rb
pact_broker-2.76.1 db/migrations/20180109_migrate_trigger_type.rb
pact_broker-2.76.0 db/migrations/20180109_migrate_trigger_type.rb
pact_broker-2.75.0 db/migrations/20180109_migrate_trigger_type.rb
pact_broker-2.74.1 db/migrations/20180109_migrate_trigger_type.rb
pact_broker-2.74.0 db/migrations/20180109_migrate_trigger_type.rb
pact_broker-2.73.0 db/migrations/20180109_migrate_trigger_type.rb
pact_broker-2.72.0 db/migrations/20180109_migrate_trigger_type.rb
pact_broker-2.71.0 db/migrations/20180109_migrate_trigger_type.rb
pact_broker-2.70.0 db/migrations/20180109_migrate_trigger_type.rb
pact_broker-2.69.0 db/migrations/20180109_migrate_trigger_type.rb
pact_broker-2.68.1 db/migrations/20180109_migrate_trigger_type.rb
pact_broker-2.68.0 db/migrations/20180109_migrate_trigger_type.rb
pact_broker-2.67.0 db/migrations/20180109_migrate_trigger_type.rb
pact_broker-2.66.0 db/migrations/20180109_migrate_trigger_type.rb