diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2005-10-23 16:54:38 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2005-10-23 16:54:38 +0000 |
commit | 76487f25e748b04f85b317df0d090c1bdf954986 (patch) | |
tree | e69ec31c8e97f190340cec6c426d82f16612ed7a /activerecord | |
parent | cdd49c53607020890997a2d7a95621b512425b65 (diff) | |
download | rails-76487f25e748b04f85b317df0d090c1bdf954986.tar.gz rails-76487f25e748b04f85b317df0d090c1bdf954986.tar.bz2 rails-76487f25e748b04f85b317df0d090c1bdf954986.zip |
Map AR time to PostgreSQL TIME. Closes #2575.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2712 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/CHANGELOG | 2 | ||||
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | 2 |
2 files changed, 3 insertions, 1 deletions
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 <robby@planetargon.com>] + * 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 <patrick@lenz.sh>] 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" } |