I upgraded an old app a couple od days ago and I went through migrations and I'd say a migration adding foreign_type field should recreate database index and include foreign_type like in lib/generators/paper_trail_association_tracking/templates/create_version_associations.rb.erb.
I upgraded an old app a couple od days ago and I went through migrations and I'd say a migration adding
foreign_type
field should recreate database index and includeforeign_type
like inlib/generators/paper_trail_association_tracking/templates/create_version_associations.rb.erb
.