From 888e33ba4dbe0770454f64041eb223de7647b824 Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Thu, 3 Sep 2020 15:49:26 +0200 Subject: [PATCH] lint: ensure all unique columns have a unique constraint --- .rubocop.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index b80958061..d1e5ce5f6 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -812,7 +812,7 @@ Rails/UniqBeforePluck: Enabled: true Rails/UniqueValidationWithoutIndex: - Enabled: false + Enabled: true Rails/UnknownEnv: Enabled: false