123456789_123456789_123456789_123456789_123456789_

Module: ActiveRecord::ConnectionAdapters::MySQL::ColumnMethods

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Defined in: activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb

Instance Method Summary

Instance Method Details

#blob(*args, **options)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 7

def blob(*args, **options)
  args.each { |name| column(name, :blob, options) }
end

#longblob(*args, **options)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 19

def longblob(*args, **options)
  args.each { |name| column(name, :longblob, options) }
end

#longtext(*args, **options)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 31

def longtext(*args, **options)
  args.each { |name| column(name, :longtext, options) }
end

#mediumblob(*args, **options)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 15

def mediumblob(*args, **options)
  args.each { |name| column(name, :mediumblob, options) }
end

#mediumtext(*args, **options)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 27

def mediumtext(*args, **options)
  args.each { |name| column(name, :mediumtext, options) }
end

#tinyblob(*args, **options)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 11

def tinyblob(*args, **options)
  args.each { |name| column(name, :tinyblob, options) }
end

#tinytext(*args, **options)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 23

def tinytext(*args, **options)
  args.each { |name| column(name, :tinytext, options) }
end

#unsigned_bigint(*args, **options)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 39

def unsigned_bigint(*args, **options)
  args.each { |name| column(name, :unsigned_bigint, options) }
end

#unsigned_decimal(*args, **options)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 47

def unsigned_decimal(*args, **options)
  args.each { |name| column(name, :unsigned_decimal, options) }
end

#unsigned_float(*args, **options)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 43

def unsigned_float(*args, **options)
  args.each { |name| column(name, :unsigned_float, options) }
end

#unsigned_integer(*args, **options)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 35

def unsigned_integer(*args, **options)
  args.each { |name| column(name, :unsigned_integer, options) }
end