Welcome to mirror list, hosted at ThFree Co, Russian Federation.

missing_indexes_spec.rb « validators « validation « schema « gitlab « lib « spec « gitlab-schema-validation « gems - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c1cb9a2416bf3843feba6b2f2da4cb727311b8f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Gitlab::Schema::Validation::Validators::MissingIndexes, feature_category: :database do
  missing_indexes = %w[
    missing_index
    index_namespaces_public_groups_name_id
    index_on_deploy_keys_id_and_type_and_public
    index_users_on_public_email_excluding_null_and_empty
  ]

  include_examples 'index validators', described_class, missing_indexes
end