aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/postgresql/oid.rb
diff options
context:
space:
mode:
authorRob Worley <robert.worley@gmail.com>2013-01-04 21:22:34 +0000
committerRob Worley <robert.worley@gmail.com>2013-01-04 21:22:34 +0000
commite209107a518c70c24d3d05ce246b8a79de9c7632 (patch)
tree4b81505089af848226931d13e5283bda7e4bd00d /activerecord/lib/active_record/connection_adapters/postgresql/oid.rb
parentcfb3019a1a7d699282a650b68cba7201b5e9f379 (diff)
downloadrails-e209107a518c70c24d3d05ce246b8a79de9c7632.tar.gz
rails-e209107a518c70c24d3d05ce246b8a79de9c7632.tar.bz2
rails-e209107a518c70c24d3d05ce246b8a79de9c7632.zip
Support for PostgreSQL's ltree data type.
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/postgresql/oid.rb')
-rw-r--r--activerecord/lib/active_record/connection_adapters/postgresql/oid.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql/oid.rb b/activerecord/lib/active_record/connection_adapters/postgresql/oid.rb
index 0a69e062f0..02c295983f 100644
--- a/activerecord/lib/active_record/connection_adapters/postgresql/oid.rb
+++ b/activerecord/lib/active_record/connection_adapters/postgresql/oid.rb
@@ -276,6 +276,7 @@ module ActiveRecord
register_type 'circle', OID::Identity.new
register_type 'hstore', OID::Hstore.new
register_type 'json', OID::Json.new
+ register_type 'ltree', OID::Identity.new
register_type 'int4range', OID::IntRange.new
alias_type 'int8range', 'int4range'