Flowdock
method

add_column_for_alter

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: SchemaStatements
add_column_for_alter(table_name, column_name, type, options = {}) private

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/postgresql/schema_statements.rb, line 686
          def add_column_for_alter(table_name, column_name, type, options = {})
            return super unless options.key?(:comment)
            [super, Proc.new { change_column_comment(table_name, column_name, options[:comment]) }]
          end
Register or log in to add new notes.