-
I ran the unindexed_deleted_at rake to see what was going on and I received a bunch of indexes to add the What I am receiving:
|
Beta Was this translation helpful? Give feedback.
Answered by
erick-ol
Dec 29, 2022
Replies: 1 comment
-
I already discover it by creating a migration using the example below: def change
remove_index :jobs, name: :index_jobs_on_area_id
add_index :jobs, :area_id, where: 'discarded_at IS NULL'
end To update an index you need to remove it first and then create in the right way after |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
erick-ol
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I already discover it by creating a migration using the example below:
To update an index you need to remove it first and then create in the right way after