module ActiveRecord::ConnectionAdapters::PostgreSQL::ColumnMethods

Public Instance Methods

bit(name, options) click to toggle source
# File lib/arjdbc/postgresql/base/schema_definitions.rb, line 76
def bit(name, options)
  column(name, 'bit', options)
end
bit_varying(name, options) click to toggle source
# File lib/arjdbc/postgresql/base/schema_definitions.rb, line 80
def bit_varying(name, options)
  column(name, 'bit varying', options)
end
cidr(name, options = {}) click to toggle source
# File lib/arjdbc/postgresql/base/schema_definitions.rb, line 56
def cidr(name, options = {})
  column(name, 'cidr', options)
end
daterange(name, options = {}) click to toggle source
# File lib/arjdbc/postgresql/base/schema_definitions.rb, line 40
def daterange(name, options = {})
  column(name, 'daterange', options)
end
hstore(name, options = {}) click to toggle source
# File lib/arjdbc/postgresql/base/schema_definitions.rb, line 44
def hstore(name, options = {})
  column(name, 'hstore', options)
end
inet(name, options = {}) click to toggle source
# File lib/arjdbc/postgresql/base/schema_definitions.rb, line 52
def inet(name, options = {})
  column(name, 'inet', options)
end
int4range(name, options = {}) click to toggle source
# File lib/arjdbc/postgresql/base/schema_definitions.rb, line 20
def int4range(name, options = {})
  column(name, 'int4range', options)
end
int8range(name, options = {}) click to toggle source
# File lib/arjdbc/postgresql/base/schema_definitions.rb, line 24
def int8range(name, options = {})
  column(name, 'int8range', options)
end
json(name, options = {}) click to toggle source
# File lib/arjdbc/postgresql/base/schema_definitions.rb, line 68
def json(name, options = {})
  column(name, 'json', options)
end
jsonb(name, options = {}) click to toggle source
# File lib/arjdbc/postgresql/base/schema_definitions.rb, line 72
def jsonb(name, options = {})
  column(name, :jsonb, options)
end
ltree(name, options = {}) click to toggle source
# File lib/arjdbc/postgresql/base/schema_definitions.rb, line 48
def ltree(name, options = {})
  column(name, 'ltree', options)
end
macaddr(name, options = {}) click to toggle source
# File lib/arjdbc/postgresql/base/schema_definitions.rb, line 60
def macaddr(name, options = {})
  column(name, 'macaddr', options)
end
numrange(name, options = {}) click to toggle source
# File lib/arjdbc/postgresql/base/schema_definitions.rb, line 36
def numrange(name, options = {})
  column(name, 'numrange', options)
end
tsrange(name, options = {}) click to toggle source
# File lib/arjdbc/postgresql/base/schema_definitions.rb, line 28
def tsrange(name, options = {})
  column(name, 'tsrange', options)
end
tstzrange(name, options = {}) click to toggle source
# File lib/arjdbc/postgresql/base/schema_definitions.rb, line 32
def tstzrange(name, options = {})
  column(name, 'tstzrange', options)
end
tsvector(*args) click to toggle source
# File lib/arjdbc/postgresql/base/schema_definitions.rb, line 15
def tsvector(*args)
  options = args.extract_options!
  column(args[0], 'tsvector', options)
end
uuid(name, options = {}) click to toggle source
# File lib/arjdbc/postgresql/base/schema_definitions.rb, line 64
def uuid(name, options = {})
  column(name, 'uuid', options)
end
xml(*args) click to toggle source
# File lib/arjdbc/postgresql/base/schema_definitions.rb, line 10
def xml(*args)
  options = args.extract_options!
  column(args[0], 'xml', options)
end