mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
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
This commit is contained in:
parent
4ef7bfb016
commit
36a9eff957
2 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
*SVN*
|
*SVN*
|
||||||
|
|
||||||
|
* Added support for timestamp with time zone in PostgreSQL #560 [Scott Barron]
|
||||||
|
|
||||||
* Added MultiparameterAssignmentErrors and AttributeAssignmentError exceptions #777 [demetrius]. Documentation:
|
* Added MultiparameterAssignmentErrors and AttributeAssignmentError exceptions #777 [demetrius]. Documentation:
|
||||||
|
|
||||||
* +MultiparameterAssignmentErrors+ -- collection of errors that occurred during a mass assignment using the
|
* +MultiparameterAssignmentErrors+ -- collection of errors that occurred during a mass assignment using the
|
||||||
|
|
|
@ -188,6 +188,7 @@ module ActiveRecord
|
||||||
when 'numeric', 'real', 'money' then 'float'
|
when 'numeric', 'real', 'money' then 'float'
|
||||||
when 'character varying', 'interval' then 'string'
|
when 'character varying', 'interval' then 'string'
|
||||||
when 'timestamp without time zone' then 'datetime'
|
when 'timestamp without time zone' then 'datetime'
|
||||||
|
when 'timestamp with time zone' then 'datetime'
|
||||||
when 'bytea' then 'binary'
|
when 'bytea' then 'binary'
|
||||||
else field_type
|
else field_type
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue