Skip to content

Commit

Permalink
fix: Run actiontext migrations for rails >= 6
Browse files Browse the repository at this point in the history
- as actiontext is made available on rails 6.0
  • Loading branch information
KapilSachdev authored and mcmire committed Nov 8, 2020
1 parent 59f7c0b commit a06f0ae
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions spec/support/unit/rails_application.rb
Expand Up @@ -26,9 +26,7 @@ def create
def load
load_environment

if rails_version > 5 && bundle.includes?('actiontext')
add_action_text_migration
end
add_action_text_migration if bundle.includes?('actiontext')

run_migrations
end
Expand Down

0 comments on commit a06f0ae

Please sign in to comment.