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



9
10
11
12
# File 'lib/switchman/active_record/abstract_adapter.rb', line 9

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