class

ActiveRecord::ConnectionAdapters::ColumnDefinition

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

Class deprecated or moved

This class is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

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