From ec9dce583ba01a9ffc2373b67a53809db72ded3a Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Sat, 9 Jan 2016 08:17:46 +0530 Subject: Added missing CHANGELOG entry for https://github.com/rails/rails/pull/22976 [ci skip] --- activerecord/CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) 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. -- cgit v1.2.3