class
ActiveRecord::ConnectionAdapters::ColumnMethods::Table
v6.1.3.1 -
Show latest stable
- Superclass: Object
Represents an SQL table in an abstract way for updating a table. Also see TableDefinition and {connection.create_table}[rdoc-ref:SchemaStatements#create_table]
Available transformations are:
change_table :table do |t| t.primary_key t.column t.index t.rename_index t.timestamps t.change t.change_default t.change_null t.rename t.references t.belongs_to t.check_constraint t.string t.text t.integer t.bigint t.float t.decimal t.numeric t.datetime t.timestamp t.time t.date t.binary t.boolean t.foreign_key t.json t.virtual t.remove t.remove_foreign_key t.remove_references t.remove_belongs_to t.remove_index t.remove_check_constraint t.remove_timestamps end
Included modules
- ActiveRecord::ConnectionAdapters::ColumnMethods
Attributes
| [R] | name |
Files
- activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb