lib/sequel/extensions/migration_transaction_options.rb in umbrellio-sequel-plugins-0.10.0.101 vs lib/sequel/extensions/migration_transaction_options.rb in umbrellio-sequel-plugins-0.11.0.143
- old
+ new
@@ -25,13 +25,17 @@
# NOTE: original code
if @use_transactions.nil?
if migration.use_transactions.nil?
@db.supports_transactional_ddl?
else
+ # :nocov:
migration.use_transactions
+ # :nocov:
end
else
+ # :nocov:
@use_transactions
+ # :nocov:
end
end
def _transaction(migration, &block)
if migration.transaction_opts.nil?