Module: Switchman::ActiveRecord::AbstractAdapter::ForeignKeyCheck

Defined in:
lib/switchman/active_record/abstract_adapter.rb

Instance Method Summary collapse

Instance Method Details

#add_column(table, name, type, limit: nil) ⇒ Object



7
8
9
10
# File 'lib/switchman/active_record/abstract_adapter.rb', line 7

def add_column(table, name, type, limit: nil, **)
  Switchman.foreign_key_check(name, type, limit: limit)
  super
end