Update 08_upgrade_to_1_12_0.rb

As Revisions and Categories are polymorphic, we have to change all references to the old class names. Otherwise old entries will loose all categorizations and revisions.
Merge pull request #467 from d--j/patch-1

Update 08_upgrade_to_1_12_0.rb
Merge branch '1.12'
adjusting upgrade migration