diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-14 11:41:52 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-14 11:41:52 +0300 |
commit | 585826cb22ecea5998a2c2a4675735c94bdeedac (patch) | |
tree | 5b05f0b30d33cef48963609e8a18a4dff260eab3 /db/post_migrate/20230728151058_add_auditor_index_to_users_table.rb | |
parent | df221d036e5d0c6c0ee4d55b9c97f481ee05dee8 (diff) |
Add latest changes from gitlab-org/gitlab@16-6-stable-eev16.6.0-rc42
Diffstat (limited to 'db/post_migrate/20230728151058_add_auditor_index_to_users_table.rb')
-rw-r--r-- | db/post_migrate/20230728151058_add_auditor_index_to_users_table.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/db/post_migrate/20230728151058_add_auditor_index_to_users_table.rb b/db/post_migrate/20230728151058_add_auditor_index_to_users_table.rb index 1a849e7b728..055174b9e32 100644 --- a/db/post_migrate/20230728151058_add_auditor_index_to_users_table.rb +++ b/db/post_migrate/20230728151058_add_auditor_index_to_users_table.rb @@ -5,7 +5,9 @@ class AddAuditorIndexToUsersTable < Gitlab::Database::Migration[2.1] disable_ddl_transaction! def up + # rubocop:disable Migration/PreventIndexCreation add_concurrent_index :users, :id, where: 'auditor IS true', name: INDEX_NAME + # rubocop:enable Migration/PreventIndexCreation end def down |