From 5d172c9268a688b9cb60ca0c51a4e659e6e9e591 Mon Sep 17 00:00:00 2001 From: Denis Arh Date: Mon, 23 May 2022 19:06:26 +0200 Subject: [PATCH] Remove suspended_at from connection unique index for handle --- store/adapters/rdbms/upgrade_tables.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/adapters/rdbms/upgrade_tables.go b/store/adapters/rdbms/upgrade_tables.go index 1034d0bd5..f83a4435b 100644 --- a/store/adapters/rdbms/upgrade_tables.go +++ b/store/adapters/rdbms/upgrade_tables.go @@ -109,7 +109,7 @@ func tableConnections() *Table { CUDTimestamps, CUDUsers, - AddIndex("unique_handle", IExpr("LOWER(handle)"), IWhere("LENGTH(handle) > 0 AND deleted_at IS NULL AND suspended_at IS NULL")), + AddIndex("unique_handle", IExpr("LOWER(handle)"), IWhere("LENGTH(handle) > 0 AND deleted_at IS NULL")), ) }