Method: ActiveRecord::ConnectionAdapters::PostgreSQL::TableDefinition#new_column_definition

Defined in:
activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb

#new_column_definition(name, type, **options) ⇒ Object

:nodoc:



269
270
271
272
273
274
275
276
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 269

def new_column_definition(name, type, **options) # :nodoc:
  case type
  when :virtual
    type = options[:type]
  end

  super
end