From 4829ccec3cf27f8021d218e9372ba5608285f919 Mon Sep 17 00:00:00 2001 From: meri025 Date: Wed, 17 Jul 2024 13:33:44 +0900 Subject: [PATCH] update skip DELETE query message Co-authored-by: Yusuke Sangenya --- lib/mysql_rewinder/cleaner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mysql_rewinder/cleaner.rb b/lib/mysql_rewinder/cleaner.rb index fde0025..aec37a1 100644 --- a/lib/mysql_rewinder/cleaner.rb +++ b/lib/mysql_rewinder/cleaner.rb @@ -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