Class: ROM::SQL::Migration::SchemaDiff::AttributeAdded Private

Inherits:
AttributeDiff
  • Object
show all
Defined in:
lib/rom/sql/migration/schema_diff.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Methods inherited from AttributeDiff

#name, #null?, #primary_key?, #unwrap

Instance Method Details

#typeObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



86
87
88
# File 'lib/rom/sql/migration/schema_diff.rb', line 86

def type
  type_serializer.(unwrap(attr).type)
end