Sha256: 991672f452d01ff4b1974d4cd8dd1dcb431a68788d2374cb5e0b93680460ae45

Contents?: true

Size: 336 Bytes

Versions: 42

Compression:

Stored size: 336 Bytes

Contents

Sequel.migration do
  up do
    if from(:pact_publications).count != 0
      from(:config).insert(
        name: "allow_dangerous_contract_modification",
        type: "boolean",
        value: "1",
        created_at: Sequel.datetime_class.now,
        updated_at: Sequel.datetime_class.now
      )
    end
  end

  down do

  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
pact_broker-2.83.0 db/migrations/20210810_set_allow_contract_modification.rb
pact_broker-2.82.0 db/migrations/20210810_set_allow_contract_modification.rb