Class: ActiveRecord::ConnectionAdapters::TableDefinition
- Inherits:
-
Object
- Object
- ActiveRecord::ConnectionAdapters::TableDefinition
- Defined in:
- lib/active_record/connection_adapters/ibm_db_adapter.rb
Instance Method Summary collapse
- #bigint(*args) ⇒ Object
-
#char(*args) ⇒ Object
(also: #character)
Method to support the new syntax of rails 2.0 migrations (short-hand definitions) for columns of type char [character].
-
#decfloat(*args) ⇒ Object
Method to support the new syntax of rails 2.0 migrations (short-hand definitions) for columns of type decfloat.
-
#double(*args) ⇒ Object
Method to support the new syntax of rails 2.0 migrations (short-hand definitions) for columns of type double.
- #graphic(*args) ⇒ Object
- #vargraphic(*args) ⇒ Object
-
#xml(*args) ⇒ Object
Method to support the new syntax of rails 2.0 migrations for columns of type xml.
Instance Method Details
#bigint(*args) ⇒ Object
377 378 379 380 |
# File 'lib/active_record/connection_adapters/ibm_db_adapter.rb', line 377 def bigint(*args) ibm_parse_column_attributes_args('bigint',*args) return self end |
#char(*args) ⇒ Object Also known as: character
Method to support the new syntax of rails 2.0 migrations (short-hand definitions) for columns of type char [character]
383 384 385 386 |
# File 'lib/active_record/connection_adapters/ibm_db_adapter.rb', line 383 def char(*args) ibm_parse_column_attributes_args('char',*args) return self end |
#decfloat(*args) ⇒ Object
Method to support the new syntax of rails 2.0 migrations (short-hand definitions) for columns of type decfloat
362 363 364 365 |
# File 'lib/active_record/connection_adapters/ibm_db_adapter.rb', line 362 def decfloat(*args) ibm_parse_column_attributes_args('decfloat',*args) return self end |
#double(*args) ⇒ Object
Method to support the new syntax of rails 2.0 migrations (short-hand definitions) for columns of type double
356 357 358 359 |
# File 'lib/active_record/connection_adapters/ibm_db_adapter.rb', line 356 def double(*args) ibm_parse_column_attributes_args('double',*args) return self end |
#graphic(*args) ⇒ Object
367 368 369 370 |
# File 'lib/active_record/connection_adapters/ibm_db_adapter.rb', line 367 def graphic(*args) ibm_parse_column_attributes_args('graphic',*args) return self end |
#vargraphic(*args) ⇒ Object
372 373 374 375 |
# File 'lib/active_record/connection_adapters/ibm_db_adapter.rb', line 372 def vargraphic(*args) ibm_parse_column_attributes_args('vargraphic',*args) return self end |
#xml(*args) ⇒ Object
Method to support the new syntax of rails 2.0 migrations for columns of type xml
350 351 352 353 |
# File 'lib/active_record/connection_adapters/ibm_db_adapter.rb', line 350 def xml(*args ) ibm_parse_column_attributes_args('xml', *args) return self end |