Sha256: e1a20d461234bc9e9f097f8969941ad0472b77047fa1cd0e1b5496900e0c368a
Contents?: true
Size: 386 Bytes
Versions: 66
Compression:
Stored size: 386 Bytes
Contents
require 'pact_broker/db/data_migrations/helpers' module PactBroker module DB module DataMigrations class SetWebhooksEnabled extend Helpers def self.call(connection) if column_exists?(connection, :webhooks, :enabled) connection[:webhooks].where(enabled: nil).update(enabled: true) end end end end end end
Version data entries
66 entries across 66 versions & 1 rubygems