3
0

Remove suspended_at from connection unique index for handle

This commit is contained in:
Denis Arh
2022-05-23 19:06:26 +02:00
parent b6adec8a9c
commit 5d172c9268

View File

@@ -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")),
)
}