1
0
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:
Kyle Spearrin
2016-06-18 14:02:25 -04:00
parent 3e32a55640
commit ca8ba6ac92
6 changed files with 95 additions and 0 deletions

View File

@ -12,6 +12,12 @@ BEGIN
WHERE
[UserId] = @Id
DELETE
FROM
[dbo].[Device]
WHERE
[UserId] = @Id
DELETE
FROM
[dbo].[User]