From 255ada06773f14ad0cb5d9fbc27e10fc2f6a8b5c Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Tue, 21 Sep 2010 18:13:07 -0300 Subject: [PATCH] Don't stop down migration arbitrarily --- db/migrate/20100920182433_change_action_tracker_record.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20100920182433_change_action_tracker_record.rb b/db/migrate/20100920182433_change_action_tracker_record.rb index 4acc597..27774d4 100644 --- a/db/migrate/20100920182433_change_action_tracker_record.rb +++ b/db/migrate/20100920182433_change_action_tracker_record.rb @@ -6,7 +6,7 @@ class ChangeActionTrackerRecord < ActiveRecord::Migration end def self.down - raise "this migration can't be reverted" + puts "Warning: cannot restore action tracker records with verb = 'publish_article_in_community'" rename_column(:action_tracker, :target_type, :dispatcher_type) rename_column(:action_tracker, :target_id, :dispatcher_id) end -- libgit2 0.21.2