class Birdspotting::Configuration
Attributes
add_column_position_check[RW]
check_bypass_env_var[RW]
encoding_check[RW]
encoding_check_message[RW]
remove_column_check[RW]
rename_column_check[RW]
rename_column_message[RW]
start_check_at_version[RW]
Public Class Methods
default()
click to toggle source
# File lib/birdspotting/configuration.rb, line 11 def self.default new.tap do |config| config.start_check_at_version = nil config.check_bypass_env_var = "BYPASS_SCHEMA_STATEMENTS_CHECK" config.add_column_position_check = true config.encoding_check = true config.encoding_check_message = "\n/!\\ You are dealing with a %<type>s field" \ "(%<column_name>s): did you think about emojis and used the appropriate encoding? /!\\ \n\n" config.rename_column_check = true config.rename_column_message = "Don't use rename_column! https://stackoverflow.com/a/18542147" config.remove_column_check = true end end