From 5aeb056b6cfbddeebd6eebb3cdf7b1b9a1e652db Mon Sep 17 00:00:00 2001 From: Jens Ulferts Date: Mon, 4 Apr 2011 11:16:08 +0200 Subject: [PATCH] using "remove" instead of "drop" on down migration --- .../011_create_stories_tasks_sprints_and_burndown.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/db/migrate/011_create_stories_tasks_sprints_and_burndown.rb b/db/migrate/011_create_stories_tasks_sprints_and_burndown.rb index 98bbf61d7b..a197b96a98 100644 --- a/db/migrate/011_create_stories_tasks_sprints_and_burndown.rb +++ b/db/migrate/011_create_stories_tasks_sprints_and_burndown.rb @@ -24,13 +24,13 @@ class CreateStoriesTasksSprintsAndBurndown < ActiveRecord::Migration end def self.down - drop_column :issues, :position - drop_column :issues, :story_points - drop_column :issues, :remaining_hours + remove_column :issues, :position + remove_column :issues, :story_points + remove_column :issues, :remaining_hours - drop_column :versions, :sprint_start_date + remove_column :versions, :sprint_start_date - drop_index :burndown_days, :version_id + remove_index :burndown_days, :version_id drop_table :burndown_days end end