diff options
author | Michael Koziarski <michael@koziarski.com> | 2008-04-04 11:45:08 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-04-04 11:45:08 +0000 |
commit | 295587f0ab3cdaa1875827a3c2e6a6686eac6ab2 (patch) | |
tree | cfe02c967982dd03f14c441c839f2d45d646b07a /activerecord/lib | |
parent | 49f2e6f8d4002185b53f7108463a50b55e4aa86e (diff) | |
download | rails-295587f0ab3cdaa1875827a3c2e6a6686eac6ab2.tar.gz rails-295587f0ab3cdaa1875827a3c2e6a6686eac6ab2.tar.bz2 rails-295587f0ab3cdaa1875827a3c2e6a6686eac6ab2.zip |
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
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb b/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb index c0cc072bfe..92d11e56e1 100644 --- a/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb @@ -107,7 +107,7 @@ module ActiveRecord :decimal => { :name => "decimal" }, :datetime => { :name => "datetime" }, :timestamp => { :name => "datetime" }, - :time => { :name => "datetime" }, + :time => { :name => "time" }, :date => { :name => "date" }, :binary => { :name => "blob" }, :boolean => { :name => "boolean" } |