Class: Neo4j::Migrations::SchemaMigration

Inherits:
Object
  • Object
show all
Includes:
ActiveNode
Defined in:
lib/neo4j/migrations/schema_migration.rb

Constant Summary

Constants included from ActiveNode

ActiveNode::LOADED_CLASSES, ActiveNode::MARSHAL_INSTANCE_VARIABLES

Constants included from ActiveNode::Labels

ActiveNode::Labels::MODELS_FOR_LABELS_CACHE, ActiveNode::Labels::WRAPPED_CLASSES

Constants included from ActiveNode::Labels::Reloading

ActiveNode::Labels::Reloading::MODELS_TO_RELOAD

Constants included from Shared::Attributes

Shared::Attributes::DEPRECATED_OBJECT_METHODS

Instance Attribute Summary

Attributes included from ActiveNode::Dependent

#called_by

Attributes included from Shared::Property

#_persisted_obj

Attributes included from ActiveNode::IdProperty::Accessor

#default_property_value

Attributes included from ActiveNode::Initialize

#called_by

Instance Method Summary collapse

Methods included from ActiveNode

#initialize, loaded_classes, #neo4j_obj

Methods included from Shared::PermittedAttributes

#attributes=, #process_attributes

Methods included from ActiveNode::Dependent

#dependent_children

Methods included from ActiveNode::HasN

#active_rel_corresponding_rel, #association_proxy, #association_proxy_cache, #association_proxy_cache_fetch, #association_proxy_hash, #association_query_proxy, #reverse_association, #validate_has_one_rel!, #validate_reverse_has_one_active_rel, #validate_reverse_has_one_core_rel

Methods included from ActiveNode::Unpersisted

#clear_deferred_nodes_for_association, #defer_create, #deferred_create_cache, #deferred_nodes_for_association, #pending_deferred_creations?

Methods included from ActiveNode::Rels

#_rels_delegator

Methods included from ActiveNode::Labels

_wrapped_classes, #add_label, #add_labels, add_wrapped_class, clear_wrapped_models, #labels, model_for_labels, #remove_label, #remove_labels

Methods included from ActiveNode::Labels::Reloading

reload_models!

Methods included from ActiveNode::Query

#as, #query_as

Methods included from Shared::Callbacks

#conditional_callback, #destroy, #initialize, #touch

Methods included from ActiveNode::Validations

#valid?

Methods included from Shared::Validations

#read_attribute_for_validation, #save, #valid?

Methods included from ActiveNode::Persistence

#_create_node, #concurrent_increment!, #create_model, #inject_primary_key!, #labels_for_create, #save, #save!

Methods included from Shared::Persistence

#apply_default_values, #cache_key, #concurrent_increment!, #create_or_update, #destroy, #destroyed?, #exist?, #freeze, #frozen?, #increment, #increment!, #new_record?, #persisted?, #props, #props_for_create, #props_for_persistence, #props_for_update, #reload, #reload_from_database, #skip_update?, #touch, #update, #update!, #update_attribute, #update_attribute!, #update_db_properties, #update_db_property, #update_model

Methods included from ActiveNode::Property

#initialize

Methods included from Shared::Property

#initialize, #inject_defaults!, #inspect, #mutations_from_database, #read_attribute, #reload_properties!, #send_props, #undeclared_properties=

Methods included from Shared::TypecastedAttributes

#attribute_before_type_cast

Methods included from Shared::Attributes

#==, #attributes, #query_attribute, #write_attribute

Methods included from Shared::MassAssignment

#add_undeclared_property, #assign_attributes, #attributes=, #initialize

Methods included from Shared::SerializedProperties

#serializable_hash, #serialized_properties

Methods included from ActiveNode::IdProperty::Accessor

#default_properties, #default_properties=, #default_property, #default_property_key

Methods included from ActiveNode::Initialize

#init_on_load, #init_on_reload

Methods included from Shared::Initialize

#wrapper

Methods included from Shared::Marshal

#marshal_dump, #marshal_load

Methods included from Shared::Identity

#==, #hash, #id, #neo_id, #to_key

Methods included from Shared

#declared_properties, #neo4j_query

Instance Method Details

#<=>(other) ⇒ Object



9
10
11
# File 'lib/neo4j/migrations/schema_migration.rb', line 9

def <=>(other)
  migration_id <=> other.migration_id
end