Sha256: 86b17968bbe8db4e938acc6a7512fa1abbc6a687961ffe0e83fe2c3a61c43f99
Contents?: true
Size: 503 Bytes
Versions: 16
Compression:
Stored size: 503 Bytes
Contents
require_relative 'migration_helper' Sequel.migration do up 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 down do end end
Version data entries
16 entries across 16 versions & 1 rubygems