025_add_created_at_field_to_task.rb 187 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 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