method
add_column
v4.0.2 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::SchemaStatements
add_column(table_name, column_name, type, options = {})public
Adds a new column to the named table. See TableDefinition#column for details of the options you can use.