Permalink
Browse files

Map Active Record time to SQL TIME. Closes #2576.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2713 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 76487f2 commit 76879f25416fe60e4c73c8b9373703d0c13669c5 @jeremy jeremy committed Oct 23, 2005
Showing with 2 additions and 2 deletions.
  1. +1 −1 activerecord/CHANGELOG
  2. +1 −1 activerecord/lib/active_record/connection_adapters/mysql_adapter.rb
View
@@ -1,6 +1,6 @@
*1.12.1* (October 19th, 2005)
-* Map Active Record time to PostgreSQL time. #2575 [Robby Russell <robby@planetargon.com>]
+* Map Active Record time to SQL TIME. #2575, #2576 [Robby Russell <robby@planetargon.com>]
* Clarify semantics of ActiveRecord::Base#respond_to? #2560 [skaes@web.de]
@@ -110,7 +110,7 @@ def native_database_types #:nodoc
:float => { :name => "float" },
:datetime => { :name => "datetime" },
:timestamp => { :name => "datetime" },
- :time => { :name => "datetime" },
+ :time => { :name => "time" },
:date => { :name => "date" },
:binary => { :name => "blob" },
:boolean => { :name => "tinyint", :limit => 1 }

0 comments on commit 76879f2

Please sign in to comment.