Skip to content

Commit c7e444e

Browse files
committed
💅 changelog from rails#44803
1 parent 9621ae9 commit c7e444e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

activerecord/CHANGELOG.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181

8282
*Leonardo Luarte*
8383

84-
* Add `:include` index option
84+
* Add `:include` option to `add_index`.
8585

8686
Add support for including non-key columns in indexes for PostgreSQL
8787
with the `INCLUDE` parameter.
@@ -93,8 +93,7 @@
9393
will result in:
9494

9595
```sql
96-
CREATE INDEX index_users_on_email USING btree (email) INCLUDE (id,
97-
created_at)
96+
CREATE INDEX index_users_on_email USING btree (email) INCLUDE (id, created_at)
9897
```
9998

10099
*Steve Abrams*

0 commit comments

Comments
 (0)