Update elastic fields from integer to long
The following discussion from !171704 should be addressed:
From @terrichu: I see a few mismatches that need to be adjusted. It looks like almostt all of the `ignore_columns` were recently updated to bigint in the database. That work should be in a follow up MR next milestone.
* `target_project_id`
* `source_project_id`
* `author_id`
* `assignee_id`
* `noteable_id`
* `owner_id`
* `root_namespace_id`
* `project_id`
## TODO
- Update the field in `Elastic::Latest::*Config` or `Search::Elastic::Types::*` to the correct type
- Add a migration to reindex the affected indices (preferably one index at a time?)
- Also cross check all integer-type columns that are indexed into Elasticsearch and create follow-ups if more changes are needed
## Plan
- [x] notes: ~https://gitlab.com/gitlab-org/gitlab/-/merge_requests/182727~ ~https://gitlab.com/gitlab-org/gitlab/-/merge_requests/184202~ https://gitlab.com/gitlab-org/gitlab/-/merge_requests/189649
- [x] merge_requests: ~https://gitlab.com/gitlab-org/gitlab/-/merge_requests/182255~ https://gitlab.com/gitlab-org/gitlab/-/merge_requests/188909
- [x] projects: ~https://gitlab.com/gitlab-org/gitlab/-/merge_requests/180165~ https://gitlab.com/gitlab-org/gitlab/-/merge_requests/187003
- [-] issues: Replaced by work items
- [ ] work_items: ~https://gitlab.com/gitlab-org/gitlab/-/merge_requests/189044~ ~https://gitlab.com/gitlab-org/gitlab/-/merge_requests/190508~ **Follow up https://gitlab.com/gitlab-org/gitlab/-/issues/549519**
- [x] users: ~https://gitlab.com/gitlab-org/gitlab/-/merge_requests/180178~ https://gitlab.com/gitlab-org/gitlab/-/merge_requests/182733
- [x] wikis: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/180023
- [-] epics: Replaced by work items
- [-] commits: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/189653
- [x] Remove the ignored columns type check: [`context 'with foreign keys mappings'`](https://gitlab.com/gitlab-org/gitlab/blob/e615e85811d417609dfba63b7a193933c138f0b5/ee/spec/lib/ee/gitlab/elastic/helper_spec.rb#L578)
issue