lib/picky/sources/db.rb in picky-0.12.1 vs lib/picky/sources/db.rb in picky-0.12.2
- old
+ new
@@ -124,10 +124,10 @@
end
# Base harvest statement for dbs.
#
def harvest_statement type, category
- "SELECT indexed_id, #{category.name} FROM #{snapshot_table_name(type)} st"
+ "SELECT indexed_id, #{category.from} FROM #{snapshot_table_name(type)} st"
end
# Override in subclasses.
#
def chunksize
\ No newline at end of file