Skip to content

Commit

Permalink
oops, fixed the migration template
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoow committed Mar 11, 2010
1 parent 503719c commit 74142d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generators/reportable_migration/templates/migration.erb
Expand Up @@ -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
Expand Down

0 comments on commit 74142d6

Please sign in to comment.