Commit b9cdb5e
committed
Add a multi-column index on spree_reviews.approved + spree_reviews.product_id
Index these columns as they are used for scoping records
in the stock gem controllers (and likely used in any
custom controllers users are likely to write as well).1 parent 5e7965f commit b9cdb5e
1 file changed
Lines changed: 6 additions & 0 deletions
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments