method

column_spec

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: ColumnDumper
column_spec(column) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb, line 9
      def column_spec(column)
        spec = Hash[prepare_column_options(column).map { |k, v| [k, "#{k}: #{v}"] }]
        spec[:name] = column.name.inspect
        spec[:type] = schema_type(column).to_s
        spec
      end
Register or log in to add new notes.