From 76487f25e748b04f85b317df0d090c1bdf954986 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Sun, 23 Oct 2005 16:54:38 +0000 Subject: Map AR time to PostgreSQL TIME. Closes #2575. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2712 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/CHANGELOG | 2 ++ .../lib/active_record/connection_adapters/postgresql_adapter.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index e669b476dc..309ff09f87 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,7 @@ *1.12.1* (October 19th, 2005) +* Map Active Record time to PostgreSQL time. #2575 [Robby Russell ] + * Clarify semantics of ActiveRecord::Base#respond_to? #2560 [skaes@web.de] * Fixed Association#clear for associations which have not yet been accessed. #2524 [Patrick Lenz ] diff --git a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb index ec02110f6e..8c3cc69ec9 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb @@ -61,7 +61,7 @@ module ActiveRecord :float => { :name => "float" }, :datetime => { :name => "timestamp" }, :timestamp => { :name => "timestamp" }, - :time => { :name => "timestamp" }, + :time => { :name => "time" }, :date => { :name => "date" }, :binary => { :name => "bytea" }, :boolean => { :name => "boolean" } -- cgit v1.2.3