spec/db/schema.rb in reportable-1.0.0 vs spec/db/schema.rb in reportable-1.0.1

- old
+ new

@@ -11,28 +11,28 @@ create_table :reportable_cache, :force => true do |t| t.string :model_name, :null => false t.string :report_name, :null => false t.string :grouping, :null => false t.string :aggregation, :null => false - t.string :condition, :null => false + t.string :conditions, :null => false t.float :value, :null => false, :default => 0 t.datetime :reporting_period, :null => false t.timestamps end add_index :reportable_cache, [ :model_name, :report_name, :grouping, :aggregation, - :condition + :conditions ], :name => :name_model_grouping_agregation add_index :reportable_cache, [ :model_name, :report_name, :grouping, :aggregation, - :condition, + :conditions, :reporting_period ], :unique => true, :name => :name_model_grouping_aggregation_period end