mirror of
https://github.com/bitwarden/server.git
synced 2025-04-06 21:48:12 -05:00
fix crypto repo for attachment
This commit is contained in:
parent
18577f927e
commit
db5544f387
@ -413,6 +413,8 @@ namespace Bit.Core.Repositories.SqlServer
|
|||||||
ciphersTable.Columns.Add(favoritesColumn);
|
ciphersTable.Columns.Add(favoritesColumn);
|
||||||
var foldersColumn = new DataColumn(nameof(c.Folders), typeof(string));
|
var foldersColumn = new DataColumn(nameof(c.Folders), typeof(string));
|
||||||
ciphersTable.Columns.Add(foldersColumn);
|
ciphersTable.Columns.Add(foldersColumn);
|
||||||
|
var attachmentsColumn = new DataColumn(nameof(c.Attachments), typeof(string));
|
||||||
|
ciphersTable.Columns.Add(attachmentsColumn);
|
||||||
var creationDateColumn = new DataColumn(nameof(c.CreationDate), c.CreationDate.GetType());
|
var creationDateColumn = new DataColumn(nameof(c.CreationDate), c.CreationDate.GetType());
|
||||||
ciphersTable.Columns.Add(creationDateColumn);
|
ciphersTable.Columns.Add(creationDateColumn);
|
||||||
var revisionDateColumn = new DataColumn(nameof(c.RevisionDate), c.RevisionDate.GetType());
|
var revisionDateColumn = new DataColumn(nameof(c.RevisionDate), c.RevisionDate.GetType());
|
||||||
@ -433,6 +435,7 @@ namespace Bit.Core.Repositories.SqlServer
|
|||||||
row[dataColumn] = cipher.Data;
|
row[dataColumn] = cipher.Data;
|
||||||
row[favoritesColumn] = cipher.Favorites;
|
row[favoritesColumn] = cipher.Favorites;
|
||||||
row[foldersColumn] = cipher.Folders;
|
row[foldersColumn] = cipher.Folders;
|
||||||
|
row[attachmentsColumn] = cipher.Attachments;
|
||||||
row[creationDateColumn] = cipher.CreationDate;
|
row[creationDateColumn] = cipher.CreationDate;
|
||||||
row[revisionDateColumn] = cipher.RevisionDate;
|
row[revisionDateColumn] = cipher.RevisionDate;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user