Sha256: 5d3e27187f4002433552b50d1167521519b53201caf39698e02da8cb3ac2d108
Contents?: true
Size: 512 Bytes
Versions: 5
Compression:
Stored size: 512 Bytes
Contents
# frozen_string_literal: true # :nodoc: # module EnumKit # :nodoc: # module ActiveRecordExtensions # :nodoc: # module ConnectionAdapters # :nodoc: # module PostgreSQL # :nodoc: # module ColumnDumper # :nodoc: # def prepare_column_options(column) spec = super spec[:enum_type] = column.sql_type.inspect if column.type == :enum spec end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems