Permalink
Browse files

Tiny change to allow AR based creation of TIME columns in sqlite. Closes

 #11465 [h-lame]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9222 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 49f2e6f commit 295587f0ab3cdaa1875827a3c2e6a6686eac6ab2 @NZKoz NZKoz committed Apr 4, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb
@@ -107,7 +107,7 @@ def native_database_types #:nodoc:
:decimal => { :name => "decimal" },
:datetime => { :name => "datetime" },
:timestamp => { :name => "datetime" },
- :time => { :name => "datetime" },
+ :time => { :name => "time" },
:date => { :name => "date" },
:binary => { :name => "blob" },
:boolean => { :name => "boolean" }

0 comments on commit 295587f

Please sign in to comment.