fixing journable_type for former issue journals

pull/374/head
Jens Ulferts 11 years ago
parent 42fb2d2650
commit d7b90f54fd
  1. 2
      db/migrate/20130920094524_legacy_issue_journal_data.rb

@ -46,6 +46,8 @@ class LegacyIssueJournalData < ActiveRecord::Migration
extend Migration::JournalMigratorConcerns::Attachable
extend Migration::JournalMigratorConcerns::Customizable
self.journable_class = "WorkPackage"
def migrate_key_value_pairs!(to_insert, legacy_journal, journal_id)
migrate_attachments(to_insert, legacy_journal, journal_id)

Loading…
Cancel
Save