fix: Run actiontext migrations for rails >= 6
- as actiontext is made available on rails 6.0
This commit is contained in:
parent
59f7c0b6ac
commit
a06f0ae502
|
@ -26,9 +26,7 @@ module UnitTests
|
||||||
def load
|
def load
|
||||||
load_environment
|
load_environment
|
||||||
|
|
||||||
if rails_version > 5 && bundle.includes?('actiontext')
|
add_action_text_migration if bundle.includes?('actiontext')
|
||||||
add_action_text_migration
|
|
||||||
end
|
|
||||||
|
|
||||||
run_migrations
|
run_migrations
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue