Skip to content

Commit

Permalink
update skip DELETE query message
Browse files Browse the repository at this point in the history
Co-authored-by: Yusuke Sangenya <[email protected]>
  • Loading branch information
meri025 and genya0407 authored Jul 17, 2024
1 parent 76333a5 commit 4829cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mysql_rewinder/cleaner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def clean(tables:)
target_tables = (tables - @except_tables) & all_tables

if target_tables.empty?
@logger&.debug "[MysqlRewinder][#{@db_config[:database]}] the table to be deleted is empty."
@logger&.debug { "[MysqlRewinder][#{@db_config[:database]}] Skip DELETE query because target_table is empty." }
return
end

Expand Down

0 comments on commit 4829cce

Please sign in to comment.