Class: ActiveGraph::Migrations::SchemaMigration

Inherits:
Object
  • Object
show all
Includes:
Node
Defined in:
lib/active_graph/migrations/schema_migration.rb

Constant Summary

Constants included from Node

Node::LOADED_CLASSES, Node::MARSHAL_INSTANCE_VARIABLES

Constants included from Node::Labels

Node::Labels::MODELS_FOR_LABELS_CACHE, Node::Labels::WRAPPED_CLASSES

Constants included from Node::Labels::Reloading

Node::Labels::Reloading::MODELS_TO_RELOAD

Constants included from Shared::Property

Shared::Property::NEO4J_DRIVER_DATA_TYPES

Constants included from Shared::Attributes

Shared::Attributes::ATTRIBUTES_METHOD_PATTERNS, Shared::Attributes::DEPRECATED_OBJECT_METHODS

Instance Attribute Summary

Attributes included from Node::Dependent

#called_by

Attributes included from Shared::Property

#_persisted_obj

Attributes included from Node::IdProperty::Accessor

#default_property_value

Attributes included from Node::Initialize

#called_by

Instance Method Summary collapse

Methods included from Node

#initialize, loaded_classes, #neo4j_obj

Methods included from Node::DependentCallbacks

#callbacks_from_relationship, #dependent_delete_callback, #dependent_delete_orphans_callback, #dependent_destroy_callback, #dependent_destroy_orphans_callback

Methods included from Shared::PermittedAttributes

#attributes=, #process_attributes

Methods included from Node::Dependent

#dependent_children

Methods included from Node::HasN

#association_proxy, #association_proxy_cache, #association_proxy_cache_fetch, #association_proxy_hash, #association_query_proxy, #delete_has_one_rel!, #delete_reverse_has_one_core_rel, #delete_reverse_has_one_relationship, #relationship_corresponding_rel, #reverse_association

Methods included from Node::Unpersisted

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

Methods included from Node::Rels

#_rels_delegator

Methods included from Node::Labels

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

Methods included from Node::Labels::Reloading

reload_models!

Methods included from Node::Query

#as, #query_as

Methods included from Shared::Callbacks

#conditional_callback, #destroy, #initialize, #touch

Methods included from Node::Validations

#valid?

Methods included from Shared::Validations

#read_attribute_for_validation, #save, #valid?

Methods included from Node::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 Node::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 Node::IdProperty::Accessor

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

Methods included from Node::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/active_graph/migrations/schema_migration.rb', line 9

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