mirror of
https://github.com/bitwarden/server.git
synced 2025-06-13 06:20:48 -05:00
Further rename to signaturekeypair
This commit is contained in:
parent
cfe647f3b4
commit
edc5e43898
@ -0,0 +1,8 @@
|
|||||||
|
CREATE PROCEDURE [dbo].[UserSignatureKeyPair_ReadByUserId]
|
||||||
|
@UserId UNIQUEIDENTIFIER
|
||||||
|
AS
|
||||||
|
BEGIN
|
||||||
|
SELECT *
|
||||||
|
FROM [dbo].[UserSignatureKeyPair]
|
||||||
|
WHERE [UserId] = @UserId;
|
||||||
|
END
|
@ -1,13 +1,13 @@
|
|||||||
CREATE PROCEDURE [dbo].[UserSigningKey_UpdateForRotation]
|
CREATE PROCEDURE [dbo].[UserSignatureKeyPair_UpdateForRotation]
|
||||||
@UserId UNIQUEIDENTIFIER,
|
@UserId UNIQUEIDENTIFIER,
|
||||||
@KeyType TINYINT,
|
@SignatureKeyPairAlgorithm TINYINT,
|
||||||
@SigningKey VARCHAR(MAX),
|
@SigningKey VARCHAR(MAX),
|
||||||
@VerifyingKey VARCHAR(MAX),
|
@VerifyingKey VARCHAR(MAX),
|
||||||
@RevisionDate DATETIME2(7)
|
@RevisionDate DATETIME2(7)
|
||||||
AS
|
AS
|
||||||
BEGIN
|
BEGIN
|
||||||
UPDATE [dbo].[UserSigningKey]
|
UPDATE [dbo].[UserSignatureKeyPair]
|
||||||
SET [KeyType] = @KeyType,
|
SET [SignatureKeyPairAlgorithm] = @SignatureKeyPairAlgorithm,
|
||||||
[SigningKey] = @SigningKey,
|
[SigningKey] = @SigningKey,
|
||||||
[VerifyingKey] = @VerifyingKey,
|
[VerifyingKey] = @VerifyingKey,
|
||||||
[RevisionDate] = @RevisionDate
|
[RevisionDate] = @RevisionDate
|
@ -1,8 +0,0 @@
|
|||||||
CREATE PROCEDURE [dbo].[UserSigningKey_ReadByUserId]
|
|
||||||
@UserId UNIQUEIDENTIFIER
|
|
||||||
AS
|
|
||||||
BEGIN
|
|
||||||
SELECT *
|
|
||||||
FROM [dbo].[UserSigningKey]
|
|
||||||
WHERE [UserId] = @UserId;
|
|
||||||
END
|
|
Loading…
x
Reference in New Issue
Block a user