ActiveRecord::ConnectionAdapters::MySQL::ColumnMethods
Methods
B
J
L
M
P
T
U
Instance Public methods
blob(*args, **options)
# File activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb, line 10
def blob(*args, **options)
  args.each { |name| column(name, :blob, options) }
end
json(*args, **options)
# File activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb, line 38
def json(*args, **options)
  args.each { |name| column(name, :json, options) }
end
longblob(*args, **options)
# File activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb, line 22
def longblob(*args, **options)
  args.each { |name| column(name, :longblob, options) }
end
longtext(*args, **options)
# File activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb, line 34
def longtext(*args, **options)
  args.each { |name| column(name, :longtext, options) }
end
mediumblob(*args, **options)
# File activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb, line 18
def mediumblob(*args, **options)
  args.each { |name| column(name, :mediumblob, options) }
end
mediumtext(*args, **options)
# File activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb, line 30
def mediumtext(*args, **options)
  args.each { |name| column(name, :mediumtext, options) }
end
primary_key(name, type = :primary_key, **options)
# File activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb, line 5
def primary_key(name, type = :primary_key, **options)
  options[:auto_increment] = true if [:integer, :bigint].include?(type) && !options.key?(:default)
  super
end
tinyblob(*args, **options)
# File activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb, line 14
def tinyblob(*args, **options)
  args.each { |name| column(name, :tinyblob, options) }
end
tinytext(*args, **options)
# File activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb, line 26
def tinytext(*args, **options)
  args.each { |name| column(name, :tinytext, options) }
end
unsigned_bigint(*args, **options)
# File activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb, line 46
def unsigned_bigint(*args, **options)
  args.each { |name| column(name, :unsigned_bigint, options) }
end
unsigned_decimal(*args, **options)
# File activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb, line 54
def unsigned_decimal(*args, **options)
  args.each { |name| column(name, :unsigned_decimal, options) }
end
unsigned_float(*args, **options)
# File activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb, line 50
def unsigned_float(*args, **options)
  args.each { |name| column(name, :unsigned_float, options) }
end
unsigned_integer(*args, **options)
# File activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb, line 42
def unsigned_integer(*args, **options)
  args.each { |name| column(name, :unsigned_integer, options) }
end