fixed schema - reportable - Fork of reportable required by WarVox, from hdm/reportable.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit 4aa4217ae76fc2852ede223de89beb5dbfe2ceff
(DIR) parent 75d16c9759dbcc0b7ba35e9ee7af5779cd2e9147
(HTM) Author: marcoow <marco.otte-witte@simplabs.com>
Date: Tue, 16 Dec 2008 01:52:02 +0800
fixed schema
Signed-off-by: Marco Otte-Witte <marco.otte-witte@simplabs.com>
Diffstat:
M generators/reports_as_sparkline_mi… | 2 +-
M spec/db/schema.rb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/generators/reports_as_sparkline_migration/templates/migration.erb b/generators/reports_as_sparkline_migration/templates/migration.erb
@@ -6,7 +6,7 @@ class <%= class_name %> < ActiveRecord::Migration
t.string :grouping, :null => false
t.string :aggregation, :null => false
t.float :value, :null => false, :default => 0
- t.string :reporting_period, :null => false
+ t.datetime :reporting_period, :null => false
t.timestamps
end
(DIR) diff --git a/spec/db/schema.rb b/spec/db/schema.rb
@@ -14,7 +14,7 @@ ActiveRecord::Schema.define(:version => 1) do
t.string :grouping, :null => false
t.string :aggregation, :null => false
t.float :value, :null => false, :default => 0
- t.string :reporting_period, :null => false
+ t.datetime :reporting_period, :null => false
t.timestamps
end