Sha256: bb9a7678f8fe7eb0b494596c2194479d98ab5db8338f6fad920de039787fd1a9
Contents?: true
Size: 274 Bytes
Versions: 61
Compression:
Stored size: 274 Bytes
Contents
module PactBroker module DB module DataMigrations module Helpers def column_exists?(connection, table, column) connection.table_exists?(table) && connection.schema(table).find{|col| col.first == column } end end end end end
Version data entries
61 entries across 61 versions & 1 rubygems