aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2013-03-05 12:14:15 +1100
committerHenare Degan <henare.degan@gmail.com>2013-03-05 12:14:15 +1100
commit3d2b9e778e44fe7d4dab00880475dd414119dbe9 (patch)
treedc6f41930a3d76310dac22c384dfefd2c1054554
parente0db6cf956e2270413143017baa7c1472b2e95f2 (diff)
Remove debugging output that was causing migration to fail
-rw-r--r--db/migrate/101_add_hash_to_info_request.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/db/migrate/101_add_hash_to_info_request.rb b/db/migrate/101_add_hash_to_info_request.rb
index e21bf0989..767583096 100644
--- a/db/migrate/101_add_hash_to_info_request.rb
+++ b/db/migrate/101_add_hash_to_info_request.rb
@@ -8,10 +8,8 @@ class AddHashToInfoRequest < ActiveRecord::Migration
InfoRequest.find(:all).each do |info_request|
info_request.idhash = Digest::SHA1.hexdigest(info_request.id.to_s + Configuration::incoming_email_secret)[0,8]
info_request.save!
- puts info_request.idhash
end
change_column :info_requests, :idhash, :string, :null => false
- puts InfoRequest.find_by_idhash
end
def self.down
remove_column :info_requests, :idhash