Module: EnumKit::ActiveRecordExtensions::ConnectionAdapters::PostgreSQL::SchemaDumper
- Defined in:
- lib/enum_kit/active_record_extensions/connection_adapters/postgresql/schema_dumper.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#prepare_column_options(column) ⇒ Object
:nodoc:
20 21 22 23 24 |
# File 'lib/enum_kit/active_record_extensions/connection_adapters/postgresql/schema_dumper.rb', line 20 def (column) spec = super spec[:enum_type] = column.sql_type.inspect if column.type == :enum spec end |