1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-08 19:47:44 +01:00

Set column type for externalId (#4566)

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
This commit is contained in:
Daniel James Smith 2024-07-29 15:41:55 +02:00 committed by GitHub
parent de79d57d6e
commit 2b738a5a4c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -750,7 +750,7 @@ public class CipherRepository : Repository<Cipher, Guid>, ICipherRepository
collectionsTable.Columns.Add(creationDateColumn);
var revisionDateColumn = new DataColumn(nameof(c.RevisionDate), c.RevisionDate.GetType());
collectionsTable.Columns.Add(revisionDateColumn);
var externalIdColumn = new DataColumn(nameof(c.ExternalId), c.ExternalId.GetType());
var externalIdColumn = new DataColumn(nameof(c.ExternalId), typeof(string));
collectionsTable.Columns.Add(externalIdColumn);
foreach (DataColumn col in collectionsTable.Columns)