Skip to content

Commit

Permalink
Run migration, but disable strong migration checks (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
jenskdsgn committed Mar 12, 2024
1 parent ab8c42a commit 9c340bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/strong_migrations/checker.rb
Expand Up @@ -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
Expand Down

0 comments on commit 9c340bd

Please sign in to comment.