Sha256: 67877b1572cb811920d218a52875a5e9f2fa2fc3243b13c74bceedea243cb015

Contents?: true

Size: 489 Bytes

Versions: 44

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

44 entries across 44 versions & 1 rubygems

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