Fix Rubocop Rails/UniqueValidationWithoutIndex cop (#27461)
				
					
				
			Co-authored-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
		@@ -20,6 +20,7 @@ ActiveRecord::Schema[7.1].define(version: 2024_03_22_161611) do
 | 
			
		||||
    t.string "uri", default: "", null: false
 | 
			
		||||
    t.datetime "created_at", precision: nil, null: false
 | 
			
		||||
    t.datetime "updated_at", precision: nil, null: false
 | 
			
		||||
    t.index ["account_id", "uri"], name: "index_account_aliases_on_account_id_and_uri", unique: true
 | 
			
		||||
    t.index ["account_id"], name: "index_account_aliases_on_account_id"
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
@@ -395,6 +396,7 @@ ActiveRecord::Schema[7.1].define(version: 2024_03_22_161611) do
 | 
			
		||||
    t.datetime "created_at", null: false
 | 
			
		||||
    t.datetime "updated_at", null: false
 | 
			
		||||
    t.index ["custom_filter_id"], name: "index_custom_filter_statuses_on_custom_filter_id"
 | 
			
		||||
    t.index ["status_id", "custom_filter_id"], name: "index_custom_filter_statuses_on_status_id_and_custom_filter_id", unique: true
 | 
			
		||||
    t.index ["status_id"], name: "index_custom_filter_statuses_on_status_id"
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
@@ -545,6 +547,7 @@ ActiveRecord::Schema[7.1].define(version: 2024_03_22_161611) do
 | 
			
		||||
    t.datetime "created_at", precision: nil, null: false
 | 
			
		||||
    t.datetime "updated_at", precision: nil, null: false
 | 
			
		||||
    t.bigint "user_id"
 | 
			
		||||
    t.index ["uid", "provider"], name: "index_identities_on_uid_and_provider", unique: true
 | 
			
		||||
    t.index ["user_id"], name: "index_identities_on_user_id"
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
@@ -1235,6 +1238,7 @@ ActiveRecord::Schema[7.1].define(version: 2024_03_22_161611) do
 | 
			
		||||
    t.datetime "created_at", precision: nil, null: false
 | 
			
		||||
    t.datetime "updated_at", precision: nil, null: false
 | 
			
		||||
    t.index ["external_id"], name: "index_webauthn_credentials_on_external_id", unique: true
 | 
			
		||||
    t.index ["user_id", "nickname"], name: "index_webauthn_credentials_on_user_id_and_nickname", unique: true
 | 
			
		||||
    t.index ["user_id"], name: "index_webauthn_credentials_on_user_id"
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user