aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorJefferson Lai <jefflai2@gmail.com>2014-04-24 04:20:30 -0700
committerJefferson Lai <jefflai2@gmail.com>2014-04-24 10:16:13 -0700
commitd080e8c201b7200f7f851c7d837cd658968c5255 (patch)
treed911e4b152f696ebcb3f37d133112208b7ce14ba /activerecord/CHANGELOG.md
parent43101ab3afe2a008d50cd78069e3bd94736da07d (diff)
downloadrails-d080e8c201b7200f7f851c7d837cd658968c5255.tar.gz
rails-d080e8c201b7200f7f851c7d837cd658968c5255.tar.bz2
rails-d080e8c201b7200f7f851c7d837cd658968c5255.zip
PostgreSQL Timestamps always map to `:datetime`.
The PG Adapter should use `:datetime` consistently instead of mapping mispellings to `:timestamp`. See #14513
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index da07633b03..a4c6e5f499 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,17 @@
+* PostgreSQL should internally use `:datetime` consistently for TimeStamp. Assures
+ different spellings of timestamps are treated the same.
+
+ Example:
+
+ mytimestamp.simplified_type('timestamp without time zone')
+ # => :datetime
+ mytimestamp.simplified_type('timestamp(6) without time zone')
+ # => also :datetime (previously would be :timestamp)
+
+ See #14513.
+
+ *Jefferson Lai*
+
* `ActiveRecord::Base.no_touching` no longer triggers callbacks or start empty transactions.
Fixes #14841.