Sha256: dd764768a808d36bf26820cf273abec3d25e6c0afa1dc8d1f89a614cb63685bb

Contents?: true

Size: 489 Bytes

Versions: 116

Compression:

Stored size: 489 Bytes

Contents

require_relative 'migration_helper'

Sequel.migration do
  change do
    create_table(:pact_versions, charset: 'utf8') do
      primary_key :id
      foreign_key :consumer_id, :pacticipants
      foreign_key :provider_id, :pacticipants
      String :sha, null: false
      String :content, type: PactBroker::MigrationHelper.large_text_type
      index [:consumer_id, :provider_id, :sha], unique: true, name: 'unq_pvc_con_prov_sha'
      DateTime :created_at, null: false
    end
  end
end

Version data entries

116 entries across 116 versions & 1 rubygems

Version Path
pact_broker-2.79.1 db/migrations/000023_create_pact_versions_table.rb
pact_broker-2.79.0 db/migrations/000023_create_pact_versions_table.rb
pact_broker-2.78.1 db/migrations/000023_create_pact_versions_table.rb
pact_broker-2.78.0 db/migrations/000023_create_pact_versions_table.rb
pact_broker-2.77.0 db/migrations/000023_create_pact_versions_table.rb
pact_broker-2.76.2 db/migrations/000023_create_pact_versions_table.rb
pact_broker-2.76.1 db/migrations/000023_create_pact_versions_table.rb
pact_broker-2.76.0 db/migrations/000023_create_pact_versions_table.rb
pact_broker-2.75.0 db/migrations/000023_create_pact_versions_table.rb
pact_broker-2.74.1 db/migrations/000023_create_pact_versions_table.rb
pact_broker-2.74.0 db/migrations/000023_create_pact_versions_table.rb
pact_broker-2.73.0 db/migrations/000023_create_pact_versions_table.rb
pact_broker-2.72.0 db/migrations/000023_create_pact_versions_table.rb
pact_broker-2.71.0 db/migrations/000023_create_pact_versions_table.rb
pact_broker-2.70.0 db/migrations/000023_create_pact_versions_table.rb
pact_broker-2.69.0 db/migrations/000023_create_pact_versions_table.rb
pact_broker-2.68.1 db/migrations/000023_create_pact_versions_table.rb
pact_broker-2.68.0 db/migrations/000023_create_pact_versions_table.rb
pact_broker-2.67.0 db/migrations/000023_create_pact_versions_table.rb
pact_broker-2.66.0 db/migrations/000023_create_pact_versions_table.rb