Module: ActiveUUID::Patches::MysqlTypeToSqlOverride

Defined in:
lib/activeuuid/patches.rb

Instance Method Summary collapse

Instance Method Details

#type_to_sql(*args) ⇒ Object



186
187
188
# File 'lib/activeuuid/patches.rb', line 186

def type_to_sql(*args)
  args.first.to_s == "uuid" ? "binary(16)" : super
end