Commit 255ada06773f14ad0cb5d9fbc27e10fc2f6a8b5c

Authored by Antonio Terceiro
1 parent e3ee6d37

Don't stop down migration arbitrarily

(ActionItem1303)
db/migrate/20100920182433_change_action_tracker_record.rb
... ... @@ -6,7 +6,7 @@ class ChangeActionTrackerRecord < ActiveRecord::Migration
6 6 end
7 7  
8 8 def self.down
9   - raise "this migration can't be reverted"
  9 + puts "Warning: cannot restore action tracker records with verb = 'publish_article_in_community'"
10 10 rename_column(:action_tracker, :target_type, :dispatcher_type)
11 11 rename_column(:action_tracker, :target_id, :dispatcher_id)
12 12 end
... ...