Module: ActiveRecord::Migration::Compatibility::V6_1::TableDefinition
- Defined in:
- activerecord/lib/active_record/migration/compatibility.rb
Instance Method Summary collapse
- #column(name, type, index: nil, **options) ⇒ Object
- #new_column_definition(name, type, **options) ⇒ Object
Instance Method Details
#column(name, type, index: nil, **options) ⇒ Object
113 114 115 116 |
# File 'activerecord/lib/active_record/migration/compatibility.rb', line 113 def column(name, type, index: nil, **) [:precision] ||= nil super end |
#new_column_definition(name, type, **options) ⇒ Object
108 109 110 111 |
# File 'activerecord/lib/active_record/migration/compatibility.rb', line 108 def new_column_definition(name, type, **) type = PostgreSQLCompat.(type, @conn) super end |