mirror of
https://github.com/bitwarden/server
synced 2026-01-08 11:33:26 +00:00
reimport db after subvault => collection rename
This commit is contained in:
20
src/Sql/dbo/Stored Procedures/Collection_Update.sql
Normal file
20
src/Sql/dbo/Stored Procedures/Collection_Update.sql
Normal file
@@ -0,0 +1,20 @@
|
||||
CREATE PROCEDURE [dbo].[Collection_Update]
|
||||
@Id UNIQUEIDENTIFIER,
|
||||
@OrganizationId UNIQUEIDENTIFIER,
|
||||
@Name VARCHAR(MAX),
|
||||
@CreationDate DATETIME2(7),
|
||||
@RevisionDate DATETIME2(7)
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON
|
||||
|
||||
UPDATE
|
||||
[dbo].[Collection]
|
||||
SET
|
||||
[OrganizationId] = @OrganizationId,
|
||||
[Name] = @Name,
|
||||
[CreationDate] = @CreationDate,
|
||||
[RevisionDate] = @RevisionDate
|
||||
WHERE
|
||||
[Id] = @Id
|
||||
END
|
||||
Reference in New Issue
Block a user