Class: AddTaskIdToReportsTable
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- AddTaskIdToReportsTable
- Defined in:
- db/migrate/20110527000000_add_task_id_to_reports_table.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
7 8 9 |
# File 'db/migrate/20110527000000_add_task_id_to_reports_table.rb', line 7 def self.down remove_column :reports, :task_id end |
.up ⇒ Object
3 4 5 |
# File 'db/migrate/20110527000000_add_task_id_to_reports_table.rb', line 3 def self.up add_column :reports, :task_id, :integer end |