westonganger / paper_trail-association_tracking

Plugin for the PaperTrail gem to track and reify associations
MIT License
128 stars 38 forks source link

include foreign_type in index #15

Closed istana closed 5 years ago

istana commented 5 years ago

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.