spec/db/schema.rb in reportable-1.0.3 vs spec/db/schema.rb in reportable-1.1.0

- old
+ new

@@ -7,15 +7,15 @@ t.timestamps end 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 :conditions, :null => false - t.float :value, :null => false, :default => 0 + t.string :model_name, :null => false, :limit => 100 + t.string :report_name, :null => false, :limit => 100 + t.string :grouping, :null => false, :limit => 10 + t.string :aggregation, :null => false, :limit => 10 + t.string :conditions, :null => false, :limit => 100 + t.float :value, :null => false, :default => 0 t.datetime :reporting_period, :null => false t.timestamps end add_index :reportable_cache, [