lib/thinking_sphinx/source/internal_properties.rb in warp-thinking-sphinx-1.3.13 vs lib/thinking_sphinx/source/internal_properties.rb in warp-thinking-sphinx-1.3.16
- old
+ new
@@ -1,9 +1,10 @@
module ThinkingSphinx
class Source
module InternalProperties
def add_internal_attributes_and_facets
- add_internal_attribute :sphinx_internal_id, :integer, @model.primary_key_for_sphinx.to_sym
+ add_internal_attribute :sphinx_internal_id, nil,
+ @model.primary_key_for_sphinx.to_sym
add_internal_attribute :class_crc, :integer, crc_column, true
add_internal_attribute :subclass_crcs, :multi, subclasses_to_s
add_internal_attribute :sphinx_deleted, :integer, "0"
add_internal_facet :class_crc
\ No newline at end of file