diff --git a/db/migrate/20130920095747_legacy_planning_element_journal_data.rb b/db/migrate/20130920095747_legacy_planning_element_journal_data.rb index 9a13e9a0cc..2226953d1d 100644 --- a/db/migrate/20130920095747_legacy_planning_element_journal_data.rb +++ b/db/migrate/20130920095747_legacy_planning_element_journal_data.rb @@ -101,7 +101,6 @@ class LegacyPlanningElementJournalData < ActiveRecord::Migration end def new_journaled_id_for_old(old_journaled_id) - # We should be able to keep that in memory @new_journaled_ids ||= begin old_new = db_select_all <<-SQL SELECT journaled_id AS old_id, new_id @@ -121,7 +120,6 @@ class LegacyPlanningElementJournalData < ActiveRecord::Migration end def new_type_id_for_old(old_type_id) - # We should be able to keep that in memory @new_type_ids ||= begin old_new = db_select_all <<-SQL SELECT id AS old_id, new_id