Methods
- blob
- longblob
- longtext
- mediumblob
- mediumtext
- tinyblob
- tinytext
- unsigned_bigint
- unsigned_decimal
- unsigned_float
- unsigned_integer
Instance Public methods
blob(*args, **options)
📝 Source code
# 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
🔎 See on GitHub
longblob(*args, **options)
📝 Source code
# 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
🔎 See on GitHub
longtext(*args, **options)
📝 Source code
# 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
🔎 See on GitHub
mediumblob(*args, **options)
📝 Source code
# 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
🔎 See on GitHub
mediumtext(*args, **options)
📝 Source code
# 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
🔎 See on GitHub
tinyblob(*args, **options)
📝 Source code
# 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
🔎 See on GitHub
tinytext(*args, **options)
📝 Source code
# 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
🔎 See on GitHub
unsigned_bigint(*args, **options)
📝 Source code
# 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
🔎 See on GitHub
unsigned_decimal(*args, **options)
📝 Source code
# 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
🔎 See on GitHub
unsigned_float(*args, **options)
📝 Source code
# 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
🔎 See on GitHub
unsigned_integer(*args, **options)
📝 Source code
# 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
🔎 See on GitHub