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



4
5
6
7
# File 'lib/switchman/active_record/table_definition.rb', line 4

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