Sha256: 25baa2ffe3c049363f8ce0f03331a9e048b46786a42d6a86f47640a31814a0e4

Contents?: true

Size: 429 Bytes

Versions: 119

Compression:

Stored size: 429 Bytes

Contents

require_relative 'migration_helper'

Sequel.migration do
  change do
    create_table(:config, charset: 'utf8') do
      primary_key :id
      String :name, null: false
      String :type, null: false
      String :value, type: PactBroker::MigrationHelper.large_text_type
      DateTime :created_at, null: false
      DateTime :updated_at, null: false
      index [:name], unique: true, name: 'unq_config_name'
    end
  end
end

Version data entries

119 entries across 119 versions & 1 rubygems

Version Path
pact_broker-2.11.0 db/migrations/000033_create_config_table.rb
pact_broker-2.10.0 db/migrations/000033_create_config_table.rb
pact_broker-2.9.0 db/migrations/000033_create_config_table.rb
pact_broker-2.9.0.beta.5 db/migrations/000033_create_config_table.rb
pact_broker-2.8.0.beta.5 db/migrations/000033_create_config_table.rb
pact_broker-2.8.0.beta.4 db/migrations/000033_create_config_table.rb
pact_broker-2.7.0.beta.3 db/migrations/000033_create_config_table.rb
pact_broker-2.7.0.beta.2 db/migrations/000033_create_config_table.rb
pact_broker-2.7.0.beta.1 db/migrations/33_create_config_table.rb
pact_broker-2.6.0 db/migrations/33_create_config_table.rb
pact_broker-2.5.1 db/migrations/33_create_config_table.rb
pact_broker-2.5.0 db/migrations/33_create_config_table.rb
pact_broker-2.4.2 db/migrations/33_create_config_table.rb
pact_broker-2.4.1 db/migrations/33_create_config_table.rb
pact_broker-2.4.0 db/migrations/33_create_config_table.rb
pact_broker-2.3.0 db/migrations/33_create_config_table.rb
pact_broker-2.2.0 db/migrations/33_create_config_table.rb
pact_broker-2.1.1 db/migrations/33_create_config_table.rb
pact_broker-2.1.0 db/migrations/33_create_config_table.rb