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

Inherits:
TableDefinition show all
Defined in:
activerecord/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


215
216
217
218
# File 'activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb', line 215

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

#xml(*args) ⇒ Object


210
211
212
213
# File 'activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb', line 210

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