lib/strong_migrations/checker.rb in strong_migrations-0.7.0 vs lib/strong_migrations/checker.rb in strong_migrations-0.7.1
- old
+ new
@@ -378,9 +378,10 @@
end
end
end
def target_version(target_version)
+ target_version ||= StrongMigrations.target_version
version =
if target_version && StrongMigrations.developer_env?
target_version.to_s
else
yield