From 0e4c264b385116ed73720587c169cfa2b8eff220 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Sat, 1 Mar 2008 22:05:50 +0000 Subject: [PATCH] ActionItem172: displaying a little more information about tasks --- app/views/tasks/processed.rhtml | 17 ++++++++++++++++- db/migrate/025_add_created_at_field_to_task.rb | 9 +++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 db/migrate/025_add_created_at_field_to_task.rb diff --git a/app/views/tasks/processed.rhtml b/app/views/tasks/processed.rhtml index d0db19a..e0ff929 100644 --- a/app/views/tasks/processed.rhtml +++ b/app/views/tasks/processed.rhtml @@ -5,7 +5,22 @@ <% else %> <% end %> diff --git a/db/migrate/025_add_created_at_field_to_task.rb b/db/migrate/025_add_created_at_field_to_task.rb new file mode 100644 index 0000000..3764aeb --- /dev/null +++ b/db/migrate/025_add_created_at_field_to_task.rb @@ -0,0 +1,9 @@ +class AddCreatedAtFieldToTask < ActiveRecord::Migration + def self.up + add_column :tasks, :created_at, :datetime + end + + def self.down + remove_column :tasks, :created_at + end +end -- libgit2 0.21.2