mirror of
https://github.com/bitwarden/server.git
synced 2025-07-03 17:12:49 -05:00
Device repository and cascase device delete on user delete
This commit is contained in:
@ -12,6 +12,12 @@ BEGIN
|
||||
WHERE
|
||||
[UserId] = @Id
|
||||
|
||||
DELETE
|
||||
FROM
|
||||
[dbo].[Device]
|
||||
WHERE
|
||||
[UserId] = @Id
|
||||
|
||||
DELETE
|
||||
FROM
|
||||
[dbo].[User]
|
||||
|
Reference in New Issue
Block a user