diff --git a/lib/strong_migrations/checker.rb b/lib/strong_migrations/checker.rb index f33836d..53d0640 100644 --- a/lib/strong_migrations/checker.rb +++ b/lib/strong_migrations/checker.rb @@ -28,7 +28,8 @@ def self.safety_assured end def perform(method, *args) - return if !enabled? + # yield will execute migration, but stops the checks + return yield unless enabled? check_adapter check_version_supported set_timeouts