Make the WikiContentJournal class available during migration #1194

This commit is contained in:
Holger Just 2013-01-06 19:59:58 +01:00
parent 4d4efa482e
commit 5156fbbfc4
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@
# See doc/COPYRIGHT.rdoc for more details.
#++
require 'wiki_content'
class RemoveDoubleInitialWikiContentJournals < ActiveRecord::Migration
def self.up
# Remove the newest initial WikiContentJournal (the one erroneously created by a former migration) if there are more than one