Module: ActiveRecord::ConnectionAdapters::MySQL::ColumnMethods
- Included in:
- Table, TableDefinition
- Defined in:
- lib/active_record/connection_adapters/mysql/schema_definitions.rb
Instance Method Summary collapse
- #blob(*args, **options) ⇒ Object
- #longblob(*args, **options) ⇒ Object
- #longtext(*args, **options) ⇒ Object
- #mediumblob(*args, **options) ⇒ Object
- #mediumtext(*args, **options) ⇒ Object
- #tinyblob(*args, **options) ⇒ Object
- #tinytext(*args, **options) ⇒ Object
- #unsigned_bigint(*args, **options) ⇒ Object
- #unsigned_decimal(*args, **options) ⇒ Object
- #unsigned_float(*args, **options) ⇒ Object
- #unsigned_integer(*args, **options) ⇒ Object
Instance Method Details
#blob(*args, **options) ⇒ Object
7 8 9 |
# File 'lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 7 def blob(*args, **) args.each { |name| column(name, :blob, ) } end |
#longblob(*args, **options) ⇒ Object
19 20 21 |
# File 'lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 19 def longblob(*args, **) args.each { |name| column(name, :longblob, ) } end |
#longtext(*args, **options) ⇒ Object
31 32 33 |
# File 'lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 31 def longtext(*args, **) args.each { |name| column(name, :longtext, ) } end |
#mediumblob(*args, **options) ⇒ Object
15 16 17 |
# File 'lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 15 def mediumblob(*args, **) args.each { |name| column(name, :mediumblob, ) } end |
#mediumtext(*args, **options) ⇒ Object
27 28 29 |
# File 'lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 27 def mediumtext(*args, **) args.each { |name| column(name, :mediumtext, ) } end |
#tinyblob(*args, **options) ⇒ Object
11 12 13 |
# File 'lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 11 def tinyblob(*args, **) args.each { |name| column(name, :tinyblob, ) } end |
#tinytext(*args, **options) ⇒ Object
23 24 25 |
# File 'lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 23 def tinytext(*args, **) args.each { |name| column(name, :tinytext, ) } end |
#unsigned_bigint(*args, **options) ⇒ Object
39 40 41 |
# File 'lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 39 def unsigned_bigint(*args, **) args.each { |name| column(name, :unsigned_bigint, ) } end |
#unsigned_decimal(*args, **options) ⇒ Object
47 48 49 |
# File 'lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 47 def unsigned_decimal(*args, **) args.each { |name| column(name, :unsigned_decimal, ) } end |
#unsigned_float(*args, **options) ⇒ Object
43 44 45 |
# File 'lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 43 def unsigned_float(*args, **) args.each { |name| column(name, :unsigned_float, ) } end |
#unsigned_integer(*args, **options) ⇒ Object
35 36 37 |
# File 'lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 35 def unsigned_integer(*args, **) args.each { |name| column(name, :unsigned_integer, ) } end |