mirror of
https://github.com/bitwarden/server.git
synced 2025-05-21 11:34:31 -05:00
GO and reset on login uris
This commit is contained in:
parent
09c0096dbd
commit
1f7db8c303
@ -63,10 +63,14 @@ BEGIN
|
|||||||
SET @BatchSize = @@ROWCOUNT
|
SET @BatchSize = @@ROWCOUNT
|
||||||
RAISERROR('Updated %d ciphers with Uris', 0, 1, @BatchSize) WITH NOWAIT
|
RAISERROR('Updated %d ciphers with Uris', 0, 1, @BatchSize) WITH NOWAIT
|
||||||
END
|
END
|
||||||
|
GO
|
||||||
|
|
||||||
-- Reset
|
-- Reset
|
||||||
TRUNCATE TABLE [CompletedIds]
|
TRUNCATE TABLE [CompletedIds]
|
||||||
SET @BatchSize = 1000
|
DECLARE @UriPath VARCHAR(50) = '$.Uri'
|
||||||
|
DECLARE @UrisPath VARCHAR(50) = '$.Uris'
|
||||||
|
DECLARE @BatchSize INT = 1000
|
||||||
|
DECLARE @LastId UNIQUEIDENTIFIER = NULL
|
||||||
|
|
||||||
-- Step 2: Remove old Uri Property
|
-- Step 2: Remove old Uri Property
|
||||||
WHILE @BatchSize > 0
|
WHILE @BatchSize > 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user