Flowdock
method

change_column

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ActiveRecord::ConnectionAdapters::SQLite3Adapter
change_column(table_name, column_name, type, **options) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb, line 271
      def change_column(table_name, column_name, type, **options) #:nodoc:
        alter_table(table_name) do |definition|
          definition[column_name].instance_eval do
            self.type = aliased_types(type.to_s, type)
            self.options.merge!(options)
          end
        end
      end
Register or log in to add new notes.