module ActiveRecord::ConnectionAdapters::TableDefinition::ColumnMetadata

Public Instance Methods

add_comment(column, comment) click to toggle source
# File lib/active_record/column_metadata/write.rb, line 13
def add_comment(column, comment)
  @comments ||= []
  @comments << [column, comment]
end
column_metadata(column, hash) click to toggle source
# File lib/active_record/column_metadata/write.rb, line 9
def column_metadata(column, hash)
  add_comment(column, hash)
end
comments() click to toggle source
# File lib/active_record/column_metadata/write.rb, line 18
def comments
  @comments
end