diff --git a/src/Infrastructure.Dapper/Vault/Repositories/CipherRepository.cs b/src/Infrastructure.Dapper/Vault/Repositories/CipherRepository.cs index ebd9ddf1b8..697edb3f37 100644 --- a/src/Infrastructure.Dapper/Vault/Repositories/CipherRepository.cs +++ b/src/Infrastructure.Dapper/Vault/Repositories/CipherRepository.cs @@ -750,7 +750,7 @@ public class CipherRepository : Repository, 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)