Module: CassandraObject::Migrations::InstanceMethods

Defined in:
lib/cassandra_object/migrations.rb

Instance Method Summary collapse

Instance Method Details

#attribute_will_change!(attribute) ⇒ Object



25
26
27
# File 'lib/cassandra_object/migrations.rb', line 25

def attribute_will_change!(attribute)
  Rails.logger.warn "#{self.class}##{attribute} added/removed/changed and attribute_will_change! not implemented."
end

#schema_versionObject



21
22
23
# File 'lib/cassandra_object/migrations.rb', line 21

def schema_version
  Integer(@schema_version || self.class.current_schema_version)
end