1
0
Fork 1
Spiegel von https://github.com/dani-garcia/vaultwarden.git synchronisiert 2025-01-09 12:05:42 +01:00
vaultwarden/migrations/postgresql/2024-03-13-170000_sso_users_cascade/up.sql
2024-12-17 17:14:45 +01:00

3 Zeilen
195 B
SQL

ALTER TABLE sso_users
DROP CONSTRAINT "sso_users_user_uuid_fkey",
ADD CONSTRAINT "sso_users_user_uuid_fkey" FOREIGN KEY(user_uuid) REFERENCES users(uuid) ON UPDATE CASCADE ON DELETE CASCADE;