lib/strong_migrations/migration.rb in strong_migrations-1.6.3 vs lib/strong_migrations/migration.rb in strong_migrations-1.6.4

- old
+ new

@@ -18,9 +18,17 @@ end end end ruby2_keywords(:method_missing) if respond_to?(:ruby2_keywords, true) + def revert(*) + if strong_migrations_checker.version_safe? + safety_assured { super } + else + super + end + end + def safety_assured strong_migrations_checker.class.safety_assured do yield end end