Module: ActiveRecord::PostgresEnum::PostgreSQLAdapter::SchemaDumperExt
- Defined in:
- lib/active_record/postgres_enum/postgresql_adapter.rb
Overview
Instance Method Summary collapse
Instance Method Details
#prepare_column_options(column) ⇒ Object
9 10 11 12 13 |
# File 'lib/active_record/postgres_enum/postgresql_adapter.rb', line 9 def (column) spec = super spec[:enum_name] = column.sql_type.inspect if column.type == :enum spec end |