дописала security

This commit is contained in:
Elena Ponomareva
2026-05-14 21:00:46 +03:00
committed by skettiks
parent a10737a7f7
commit 82a0cec1cc
8 changed files with 146 additions and 52 deletions
@@ -0,0 +1,3 @@
CREATE UNIQUE INDEX IF NOT EXISTS idx_users_provider_provider_id
ON users(provider, provider_id)
WHERE provider IS NOT NULL AND provider_id IS NOT NULL;