Move user-related tables to be gitlab_main_user
There are about 40 tables related to users that are marked as gitlab_main_clusterwide. These tables are not planned to synchronized to other cells in Cells 1.0, so its gitlab_schema should be moved to a different gitlab_main_user schema.
This enables us to differentiate the tables that do need to be synced to other cells.
Implementation
Need to change users related table schema to gitlab_main_user from gitlab_main_clusterwide similar to work done in !188026 (merged), and Draft: Move more tables to `gitlab_main_user` (!192059 - closed)
Some of these tables may be gitlab_main_cell, or gitlab_main_cell_local instead.
=> [["keys", :gitlab_main_clusterwide],
["gpg_keys", :gitlab_main_clusterwide],
["identities", :gitlab_main_clusterwide],
["chat_names", :gitlab_main],
["subscriptions", :gitlab_main],
["oauth_applications", :gitlab_main_clusterwide],
["abuse_reports", :gitlab_main_clusterwide],
["abuse_report_assignees", :gitlab_main_clusterwide],
["abuse_events", :gitlab_main_clusterwide],
["spam_logs", :gitlab_main_clusterwide],
["abuse_trust_scores", :gitlab_main_clusterwide],
["award_emoji", :gitlab_main],
["audit_events", :gitlab_main],
["timelogs", :gitlab_main],
["resource_label_events", :gitlab_main],
["resource_state_events", :gitlab_main],
["approvers", :gitlab_main_cell_local],
["user_permission_export_uploads", :gitlab_main_clusterwide],
["country_access_logs", :gitlab_main_cell_local]]
Edited by 🤖 GitLab Bot 🤖