aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2016-01-09 08:17:46 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2016-01-09 08:17:46 +0530
commitec9dce583ba01a9ffc2373b67a53809db72ded3a (patch)
tree938e0640f6138f3609736c4b2bd9802e36a50839 /activerecord/CHANGELOG.md
parent34ac8a1e98e85b28fe3ee02a83c85cdaa4b77714 (diff)
downloadrails-ec9dce583ba01a9ffc2373b67a53809db72ded3a.tar.gz
rails-ec9dce583ba01a9ffc2373b67a53809db72ded3a.tar.bz2
rails-ec9dce583ba01a9ffc2373b67a53809db72ded3a.zip
Added missing CHANGELOG entry for https://github.com/rails/rails/pull/22976
[ci skip]
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 5790528e97..3199951f68 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,11 @@
+* Use `version` column as primary key for schema_migrations table because
+ schema_migrations versions are guaranteed to be unique.
+
+ This makes it possible to use `update_attributes` on models that do
+ not have a primary key.
+
+ *Richard Schneeman*
+
* Add short-hand methods for text and blob types in MySQL.
In Pg and Sqlite3, `:text` and `:binary` have variable unlimited length.