1
0
mirror of https://github.com/bitwarden/server synced 2026-01-03 09:03:44 +00:00

post, upload, and save cipher attachment

This commit is contained in:
Kyle Spearrin
2017-06-30 11:15:58 -04:00
parent 71f755dd44
commit 6cea556ae1
18 changed files with 158 additions and 25 deletions

View File

@@ -6,6 +6,7 @@
@Data NVARCHAR(MAX),
@Favorites NVARCHAR(MAX),
@Folders NVARCHAR(MAX),
@Attachments NVARCHAR(MAX),
@CreationDate DATETIME2(7),
@RevisionDate DATETIME2(7),
@CollectionIds AS [dbo].[GuidIdArray] READONLY
@@ -20,7 +21,7 @@ BEGIN
[OrganizationId] = @OrganizationId,
[Data] = @Data,
[RevisionDate] = @RevisionDate
-- No need to update CreationDate, Favorites, Folders, or Type since that data will not change
-- No need to update Attachments, CreationDate, Favorites, Folders, or Type since that data will not change
WHERE
[Id] = @Id