fixed the schema.rb that's used for the specs - reportable - Fork of reportable required by WarVox, from hdm/reportable.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit f45a902f1ed3558f7ef955d6685efb9c599bcea4
(DIR) parent d16881167c82bbcbeff255459571a6992f92b670
(HTM) Author: Marco Otte-Witte <marco.otte-witte@simplabs.com>
Date: Thu, 13 May 2010 11:19:13 +0200
fixed the schema.rb that's used for the specs
Diffstat:
M spec/db/schema.rb | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
(DIR) diff --git a/spec/db/schema.rb b/spec/db/schema.rb
@@ -9,12 +9,12 @@ ActiveRecord::Schema.define(:version => 1) do
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