lib/birdspotting/schema_statements.rb in birdspotting-0.1.3 vs lib/birdspotting/schema_statements.rb in birdspotting-0.1.4
- old
+ new
@@ -40,12 +40,12 @@
def encoding_check(column_name, type, options)
return if bypass_check?(options)
return unless Birdspotting.configuration.encoding_check?
return unless %i[text string].include?(type)
- STDERR.puts sprintf(
+ warn sprintf(
Birdspotting.configuration.encoding_check_message,
- type: type,
+ type: type,
column_name: column_name
)
end
def remove_column_check(column_name, table_name, options)