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.112.0 db/migrations/20210810_set_allow_contract_modification.rb
pact_broker-2.111.0 db/migrations/20210810_set_allow_contract_modification.rb
pact_broker-2.109.1 db/migrations/20210810_set_allow_contract_modification.rb
pact_broker-2.109.0 db/migrations/20210810_set_allow_contract_modification.rb
pact_broker-2.108.0 db/migrations/20210810_set_allow_contract_modification.rb
pact_broker-2.107.1 db/migrations/20210810_set_allow_contract_modification.rb
pact_broker-2.107.0 db/migrations/20210810_set_allow_contract_modification.rb
pact_broker-2.107.0.beta.1 db/migrations/20210810_set_allow_contract_modification.rb
pact_broker-2.106.0 db/migrations/20210810_set_allow_contract_modification.rb
pact_broker-2.105.0 db/migrations/20210810_set_allow_contract_modification.rb
pact_broker-2.104.0 db/migrations/20210810_set_allow_contract_modification.rb
pact_broker-2.103.0 db/migrations/20210810_set_allow_contract_modification.rb
pact_broker-2.102.2 db/migrations/20210810_set_allow_contract_modification.rb
pact_broker-2.102.1 db/migrations/20210810_set_allow_contract_modification.rb
pact_broker-2.102.0 db/migrations/20210810_set_allow_contract_modification.rb
pact_broker-2.101.0 db/migrations/20210810_set_allow_contract_modification.rb
pact_broker-2.100.0 db/migrations/20210810_set_allow_contract_modification.rb
pact_broker-2.99.0 db/migrations/20210810_set_allow_contract_modification.rb
pact_broker-2.98.0 db/migrations/20210810_set_allow_contract_modification.rb
pact_broker-2.97.0 db/migrations/20210810_set_allow_contract_modification.rb