Browse Source

re-add ArchivedDate

PM-27884
jaasen-livefront 6 days ago
parent
commit
180fee534c
No known key found for this signature in database
  1. 3
      src/Core/Vault/Entities/Cipher.cs
  2. 1
      src/Core/Vault/Models/Data/CipherDetails.cs

3
src/Core/Vault/Entities/Cipher.cs

@ -25,6 +25,9 @@ public class Cipher : ITableObject<Guid>, ICloneable @@ -25,6 +25,9 @@ public class Cipher : ITableObject<Guid>, ICloneable
public DateTime? DeletedDate { get; set; }
public Enums.CipherRepromptType? Reprompt { get; set; }
public string Key { get; set; }
// Deprecated. Left for backwards compatibility with old archive handling.
// Remove after all clients migrate to the Archives JSON column.
public DateTime? ArchivedDate { get; set; }
public string Archives { get; set; }
public void SetNewId()

1
src/Core/Vault/Models/Data/CipherDetails.cs

@ -51,6 +51,7 @@ public class CipherDetailsWithCollections : CipherDetails @@ -51,6 +51,7 @@ public class CipherDetailsWithCollections : CipherDetails
Reprompt = cipher.Reprompt;
Key = cipher.Key;
FolderId = cipher.FolderId;
ArchivedDate = cipher.ArchivedDate;
Favorite = cipher.Favorite;
Edit = cipher.Edit;
ViewPassword = cipher.ViewPassword;

Loading…
Cancel
Save