method

add_column_sql

Importance_0
v4.2.9 - Show latest stable - 0 notes - Class: AbstractMysqlAdapter
add_column_sql(table_name, column_name, type, options = {}) protected

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/abstract_mysql_adapter.rb, line 784
      def add_column_sql(table_name, column_name, type, options = {})
        td = create_table_definition table_name, options[:temporary], options[:options]
        cd = td.new_column_definition(column_name, type, options)
        schema_creation.visit_AddColumn cd
      end
Register or log in to add new notes.