Sha256: ed37680ddbe39627df5d21f98feef3fb382e36181cb4d2469e6430ea60ef562c

Contents?: true

Size: 375 Bytes

Versions: 44

Compression:

Stored size: 375 Bytes

Contents

require "digest/sha1"
require_relative "migration_helper"

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

    alter_table(:pacts) do
      set_column_not_null(:pact_version_content_sha)
    end

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

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
pact_broker-2.112.0 db/migrations/000019_make_pact_version_content_sha_not_nullable.rb
pact_broker-2.111.0 db/migrations/000019_make_pact_version_content_sha_not_nullable.rb
pact_broker-2.109.1 db/migrations/000019_make_pact_version_content_sha_not_nullable.rb
pact_broker-2.109.0 db/migrations/000019_make_pact_version_content_sha_not_nullable.rb
pact_broker-2.108.0 db/migrations/000019_make_pact_version_content_sha_not_nullable.rb
pact_broker-2.107.1 db/migrations/000019_make_pact_version_content_sha_not_nullable.rb
pact_broker-2.107.0 db/migrations/000019_make_pact_version_content_sha_not_nullable.rb
pact_broker-2.107.0.beta.1 db/migrations/000019_make_pact_version_content_sha_not_nullable.rb
pact_broker-2.106.0 db/migrations/000019_make_pact_version_content_sha_not_nullable.rb
pact_broker-2.105.0 db/migrations/000019_make_pact_version_content_sha_not_nullable.rb
pact_broker-2.104.0 db/migrations/000019_make_pact_version_content_sha_not_nullable.rb
pact_broker-2.103.0 db/migrations/000019_make_pact_version_content_sha_not_nullable.rb
pact_broker-2.102.2 db/migrations/000019_make_pact_version_content_sha_not_nullable.rb
pact_broker-2.102.1 db/migrations/000019_make_pact_version_content_sha_not_nullable.rb
pact_broker-2.102.0 db/migrations/000019_make_pact_version_content_sha_not_nullable.rb
pact_broker-2.101.0 db/migrations/000019_make_pact_version_content_sha_not_nullable.rb
pact_broker-2.100.0 db/migrations/000019_make_pact_version_content_sha_not_nullable.rb
pact_broker-2.99.0 db/migrations/000019_make_pact_version_content_sha_not_nullable.rb
pact_broker-2.98.0 db/migrations/000019_make_pact_version_content_sha_not_nullable.rb
pact_broker-2.97.0 db/migrations/000019_make_pact_version_content_sha_not_nullable.rb