class

ActiveRecord::ConnectionAdapters::ColumnDefinition

v3.2.8 - Show latest stable - Superclass: Struct.new(:base, :name, :type, :limit, :precision, :scale, :default, :null)

Abstract representation of a column definition. Instances of this type are typically created by methods in TableDefinition, and added to the columns attribute of said TableDefinition object, in order to be used for generating a number of table creation or table changing SQL statements.

Files

  • activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb