mirror of
https://github.com/bitwarden/server.git
synced 2025-04-08 06:28:14 -05:00
delete null creationdates too
This commit is contained in:
parent
941792bdd8
commit
24aa0dc026
@ -12,7 +12,8 @@ BEGIN
|
|||||||
FROM
|
FROM
|
||||||
[dbo].[U2f]
|
[dbo].[U2f]
|
||||||
WHERE
|
WHERE
|
||||||
[CreationDate] < @Threshold
|
[CreationDate] IS NULL
|
||||||
|
OR [CreationDate] < @Threshold
|
||||||
|
|
||||||
SET @BatchSize = @@ROWCOUNT
|
SET @BatchSize = @@ROWCOUNT
|
||||||
END
|
END
|
||||||
|
@ -81,7 +81,8 @@ BEGIN
|
|||||||
FROM
|
FROM
|
||||||
[dbo].[U2f]
|
[dbo].[U2f]
|
||||||
WHERE
|
WHERE
|
||||||
[CreationDate] < @Threshold
|
[CreationDate] IS NULL
|
||||||
|
OR [CreationDate] < @Threshold
|
||||||
|
|
||||||
SET @BatchSize = @@ROWCOUNT
|
SET @BatchSize = @@ROWCOUNT
|
||||||
END
|
END
|
||||||
|
Loading…
x
Reference in New Issue
Block a user