Class: ActiveRecord::ConnectionAdapters::TableDefinition

Inherits:
Object
  • Object
show all
Defined in:
lib/postgresql-cube/type.rb

Instance Method Summary collapse

Instance Method Details

#cube(name, options = {}) ⇒ Object



57
58
59
# File 'lib/postgresql-cube/type.rb', line 57

def cube(name, options = {})
  column(name, 'cube', options)
end