Sha256: 46eb937d7f2f910356632bf74141086895eb75bffdb2cca68c2c3d835dff7a10

Contents?: true

Size: 235 Bytes

Versions: 1

Compression:

Stored size: 235 Bytes

Contents

module PactBroker
  module MigrationHelper

    extend self

    def large_text_type
      if Sequel::Model.db.adapter_scheme == :postgres
        :text
      else
        # Assume mysql
        :mediumtext
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pact_broker-1.3.2.rc1 db/migrations/migration_helper.rb