using "remove" instead of "drop" on down migration

pull/6827/head
Jens Ulferts 14 years ago
parent 9f5d02ca11
commit 5aeb056b6c
  1. 10
      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

Loading…
Cancel
Save