Module: Switchman::ActiveRecord::TableDefinition

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

Instance Method Summary collapse

Instance Method Details

#column(name, type, limit: nil) ⇒ Object



6
7
8
9
# File 'lib/switchman/active_record/table_definition.rb', line 6

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