diff options
author | gkemmey <gray.kemmey@gmail.com> | 2018-09-13 16:00:51 -0400 |
---|---|---|
committer | gkemmey <gray.kemmey@gmail.com> | 2018-09-13 16:11:09 -0400 |
commit | 3a36cb08687aa337efca4dff12d20901d4d8029e (patch) | |
tree | 162409e8c479b0062c67f78632f8422238d7c7f7 /activerecord/CHANGELOG.md | |
parent | b20762e56c0412aee02bd244a3128c933c484e52 (diff) | |
download | rails-3a36cb08687aa337efca4dff12d20901d4d8029e.tar.gz rails-3a36cb08687aa337efca4dff12d20901d4d8029e.tar.bz2 rails-3a36cb08687aa337efca4dff12d20901d4d8029e.zip |
SQLite3 adapter supports expression indexes
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index bfdc978005..fa230df993 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,15 @@ +* SQLite3 adapter supports expression indexes + + ``` + create_table :users do |t| + t.string :email + end + + add_index :users, 'lower(email)', name: 'index_users_on_email', unique: true + ``` + + *Gray Kemmey* + * Allow subclasses to redefine autosave callbacks for associated records. Fixes #33305. |