aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-06-03 13:56:21 +0200
committerYves Senn <yves.senn@gmail.com>2014-06-03 13:56:21 +0200
commit098bb63ae4acc349826ab84b3e1dff985e38609c (patch)
treeaecd8f4d2e38812e421ad60a70ebcc204d62d9d9 /activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
parented1b747b85876122e0b7b11aaabcc877c6f819b9 (diff)
downloadrails-098bb63ae4acc349826ab84b3e1dff985e38609c.tar.gz
rails-098bb63ae4acc349826ab84b3e1dff985e38609c.tar.bz2
rails-098bb63ae4acc349826ab84b3e1dff985e38609c.zip
pg, preserve point type when schema dumping.
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb')
-rw-r--r--activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
index 23c1a8de2f..61694674ab 100644
--- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
@@ -103,7 +103,8 @@ module ActiveRecord
uuid: { name: "uuid" },
json: { name: "json" },
ltree: { name: "ltree" },
- citext: { name: "citext" }
+ citext: { name: "citext" },
+ point: { name: "point"}
}
OID = PostgreSQL::OID #:nodoc: