Class: ActiveRecord::ConnectionAdapters::RedshiftAdapter::TableDefinition

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

Instance Method Summary collapse

Instance Method Details

#identity(name) ⇒ Object



248
249
250
# File 'lib/active_record/connection_adapters/redshift_adapter.rb', line 248

def identity(name)
  column(name, :identity)
end

#tsvector(*args) ⇒ Object



243
244
245
246
# File 'lib/active_record/connection_adapters/redshift_adapter.rb', line 243

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

#xml(*args) ⇒ Object



238
239
240
241
# File 'lib/active_record/connection_adapters/redshift_adapter.rb', line 238

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