add_index"project_repository_states",["last_repository_verification_failure"],name: "idx_repository_states_on_repository_failure_partial",where: "(last_repository_verification_failure IS NOT NULL)",using: :btree
add_index"project_repository_states",["last_wiki_verification_failure"],name: "idx_repository_states_on_wiki_failure_partial",where: "(last_wiki_verification_failure IS NOT NULL)",using: :btree
add_index"project_repository_states",["repository_verification_checksum","wiki_verification_checksum"],name: "idx_repository_states_on_checksums_partial",where: "((repository_verification_checksum IS NULL) OR (wiki_verification_checksum IS NULL))",using: :btree
add_concurrent_index(:project_registry,:repository_verification_checksum,name: REPOSITORY_INDEX_NAME,where: 'repository_verification_checksum IS NULL')
add_index"project_registry",["project_id"],name: "idx_project_registry_on_repository_failure_partial",where: "(last_repository_verification_failure IS NOT NULL)",using: :btree
add_index"project_registry",["project_id"],name: "idx_project_registry_on_wiki_failure_partial",where: "(last_wiki_verification_failure IS NOT NULL)",using: :btree
add_concurrent_index(:project_repository_states,:last_repository_verification_failure,name: REPOSITORY_INDEX_NAME,length: Gitlab::Database.mysql??20:nil,where: 'last_repository_verification_failure IS NOT NULL')
add_concurrent_index(:project_repository_states,:last_wiki_verification_failure,name: WIKI_INDEX_NAME,length: Gitlab::Database.mysql??20:nil,where: 'last_wiki_verification_failure IS NOT NULL')