Permalink
Browse files

Added support for timestamp with time zone in PostgreSQL #560 [Scott …

…Barron]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@858 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 4ef7bfb commit 36a9eff957c29cbb5fd8654c24fef6bfc94b92d4 @dhh dhh committed Mar 6, 2005
View
2 activerecord/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Added support for timestamp with time zone in PostgreSQL #560 [Scott Barron]
+
* Added MultiparameterAssignmentErrors and AttributeAssignmentError exceptions #777 [demetrius]. Documentation:
* +MultiparameterAssignmentErrors+ -- collection of errors that occurred during a mass assignment using the
View
1 activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
@@ -188,6 +188,7 @@ def type_as_string(field_type, field_length)
when 'numeric', 'real', 'money' then 'float'
when 'character varying', 'interval' then 'string'
when 'timestamp without time zone' then 'datetime'
+ when 'timestamp with time zone' then 'datetime'
when 'bytea' then 'binary'
else field_type
end

0 comments on commit 36a9eff

Please sign in to comment.