diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2005-10-23 17:22:03 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2005-10-23 17:22:03 +0000 |
commit | 76879f25416fe60e4c73c8b9373703d0c13669c5 (patch) | |
tree | ae7bb2358fb8d6e3feddf5cd1d1f9ea5505cb602 /activerecord/lib | |
parent | 76487f25e748b04f85b317df0d090c1bdf954986 (diff) | |
download | rails-76879f25416fe60e4c73c8b9373703d0c13669c5.tar.gz rails-76879f25416fe60e4c73c8b9373703d0c13669c5.tar.bz2 rails-76879f25416fe60e4c73c8b9373703d0c13669c5.zip |
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
Diffstat (limited to 'activerecord/lib')
-rwxr-xr-x | activerecord/lib/active_record/connection_adapters/mysql_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb b/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb index 4d034adec5..0834bf51e0 100755 --- a/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb @@ -110,7 +110,7 @@ module ActiveRecord :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 } |