Class: ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::TableDefinition

Inherits:
TableDefinition
  • Object
show all
Defined in:
lib/active_record/connection_adapters/postgresql_adapter.rb

Instance Attribute Summary

Attributes inherited from TableDefinition

#columns

Instance Method Summary collapse

Methods inherited from TableDefinition

#[], #column, #initialize, #primary_key, #references, #timestamps, #to_sql

Constructor Details

This class inherits a constructor from ActiveRecord::ConnectionAdapters::TableDefinition

Instance Method Details

#tsvector(*args) ⇒ Object



212
213
214
215
# File 'lib/active_record/connection_adapters/postgresql_adapter.rb', line 212

def tsvector(*args)
  options = args.extract_options!
  column(args[0], 'tsvector', options)
end

#xml(*args) ⇒ Object



207
208
209
210
# File 'lib/active_record/connection_adapters/postgresql_adapter.rb', line 207

def xml(*args)
  options = args.extract_options!
  column(args[0], 'xml', options)
end