Flowdock
class
Importance_2
v6.1.3.1 - Show latest stable - 0 notes - 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
Show files where this class is defined (1 file)
Register or log in to add new notes.