oops, fixed the migration template - reportable - Unnamed repository; edit this… | |
Log | |
Files | |
Refs | |
README | |
--- | |
commit 74142d6345659afeccb3f03709b70deef95ce828 | |
parent 503719cb2730e09bc18ae2d05633b75bd3b0a02a | |
Author: Marco Otte-Witte <[email protected]> | |
Date: Thu, 11 Mar 2010 20:42:36 +0100 | |
oops, fixed the migration template | |
Diffstat: | |
M generators/reportable_migration/te… | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/generators/reportable_migration/templates/migration.erb b/generato… | |
@@ -18,14 +18,14 @@ class <%= class_name %> < ActiveRecord::Migration | |
: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 |