method

add_column

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActiveRecord::ConnectionAdapters::PostgreSQLAdapter
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.

Show source
Register or log in to add new notes.