Module: ActiveRecord::Migration::Compatibility::V6_1::TableDefinition
- Defined in:
- activerecord/lib/active_record/migration/compatibility.rb
Instance Method Summary collapse
- #change(name, type, index: nil, **options) ⇒ Object
- #column(name, type, index: nil, **options) ⇒ Object
- #new_column_definition(name, type, **options) ⇒ Object
Instance Method Details
#change(name, type, index: nil, **options) ⇒ Object
228 229 230 231 |
# File 'activerecord/lib/active_record/migration/compatibility.rb', line 228 def change(name, type, index: nil, **) [:precision] ||= nil super end |
#column(name, type, index: nil, **options) ⇒ Object
233 234 235 236 |
# File 'activerecord/lib/active_record/migration/compatibility.rb', line 233 def column(name, type, index: nil, **) [:precision] ||= nil super end |
#new_column_definition(name, type, **options) ⇒ Object
223 224 225 226 |
# File 'activerecord/lib/active_record/migration/compatibility.rb', line 223 def new_column_definition(name, type, **) type = PostgreSQLCompat.(type, @conn) super end |