mirror of
https://github.com/bitwarden/server.git
synced 2024-12-02 13:53:23 +01:00
remove old migration
This commit is contained in:
parent
58bf726353
commit
e38fb90000
@ -1,16 +0,0 @@
|
|||||||
CREATE OR ALTER PROCEDURE [dbo].[UserAsymmetricKeys_Regenerate]
|
|
||||||
@UserId UNIQUEIDENTIFIER,
|
|
||||||
@PublicKey VARCHAR(MAX),
|
|
||||||
@PrivateKey VARCHAR(MAX)
|
|
||||||
AS
|
|
||||||
BEGIN
|
|
||||||
SET NOCOUNT ON
|
|
||||||
DECLARE @UtcNow DATETIME2(7) = GETUTCDATE();
|
|
||||||
|
|
||||||
UPDATE [dbo].[User]
|
|
||||||
SET [PublicKey] = @PublicKey,
|
|
||||||
[PrivateKey] = @PrivateKey,
|
|
||||||
[RevisionDate] = @UtcNow,
|
|
||||||
[AccountRevisionDate] = @UtcNow
|
|
||||||
WHERE [Id] = @UserId
|
|
||||||
END
|
|
Loading…
Reference in New Issue
Block a user