Sha256: 0667d2414353c6798e8f6bd479fe35c51c7d7049fddac039f460b3f1cadef392

Contents?: true

Size: 351 Bytes

Versions: 156

Compression:

Stored size: 351 Bytes

Contents

Sequel.migration do
  up do
    PactBroker::MigrationHelper.with_mysql do
      run("SET FOREIGN_KEY_CHECKS = 0")
    end

    alter_table(:pact_versions) do
      set_column_not_null(:consumer_id)
      set_column_not_null(:provider_id)
    end

    PactBroker::MigrationHelper.with_mysql do
      run("SET FOREIGN_KEY_CHECKS = 1")
    end
  end
end

Version data entries

156 entries across 156 versions & 1 rubygems

Version Path
pact_broker-2.68.1 db/migrations/000025_make_pv_pacticipants_mandatory.rb
pact_broker-2.68.0 db/migrations/000025_make_pv_pacticipants_mandatory.rb
pact_broker-2.67.0 db/migrations/000025_make_pv_pacticipants_mandatory.rb
pact_broker-2.66.0 db/migrations/000025_make_pv_pacticipants_mandatory.rb
pact_broker-2.65.0 db/migrations/000025_make_pv_pacticipants_mandatory.rb
pact_broker-2.64.0 db/migrations/000025_make_pv_pacticipants_mandatory.rb
pact_broker-2.63.0 db/migrations/000025_make_pv_pacticipants_mandatory.rb
pact_broker-2.62.0 db/migrations/000025_make_pv_pacticipants_mandatory.rb
pact_broker-2.61.0 db/migrations/000025_make_pv_pacticipants_mandatory.rb
pact_broker-2.60.1 db/migrations/000025_make_pv_pacticipants_mandatory.rb
pact_broker-2.60.0 db/migrations/000025_make_pv_pacticipants_mandatory.rb
pact_broker-2.59.2 db/migrations/000025_make_pv_pacticipants_mandatory.rb
pact_broker-2.59.1 db/migrations/000025_make_pv_pacticipants_mandatory.rb
pact_broker-2.59.0 db/migrations/000025_make_pv_pacticipants_mandatory.rb
pact_broker-2.58.3 db/migrations/000025_make_pv_pacticipants_mandatory.rb
pact_broker-2.58.2 db/migrations/000025_make_pv_pacticipants_mandatory.rb
pact_broker-2.58.0 db/migrations/000025_make_pv_pacticipants_mandatory.rb
pact_broker-2.57.0 db/migrations/000025_make_pv_pacticipants_mandatory.rb
pact_broker-2.56.1 db/migrations/000025_make_pv_pacticipants_mandatory.rb
pact_broker-2.56.0 db/migrations/000025_make_pv_pacticipants_mandatory.rb