Fix paper trail versioning for RegistrantVerification

This commit is contained in:
Karl Erik Õunapuu 2020-08-07 14:48:54 +03:00
parent 2d93932d92
commit cca51b8a03
5 changed files with 118 additions and 96 deletions

View file

@ -0,0 +1,9 @@
class ChangeRegistrantVerificationCreatorUpdatorIdToString < ActiveRecord::Migration[6.0]
def change
add_column :registrant_verifications, :creator_str, :string
add_column :registrant_verifications, :updator_str, :string
remove_column :registrant_verifications, :creator_id
remove_column :registrant_verifications, :updater_id
end
end