1
0
mirror of https://github.com/bitwarden/server synced 2025-12-15 15:53:59 +00:00

add nullable enable

This commit is contained in:
jaasen-livefront
2025-11-14 11:52:32 -08:00
parent 65a1b5d08d
commit 07c838773b
3 changed files with 6 additions and 3 deletions

View File

@@ -27,10 +27,11 @@ public class Cipher : ITableObject<Guid>, ICloneable
public string Key { get; set; }
/// <summary>
/// Deprecated as of Nov 2025.
/// Deprecated as of 2025-11-13.
/// Source of truth is now CipherArchive (CipherId + UserId).
/// Kept for backward compatibility during phased migration.
/// </summary>
[Obsolete("Use CipherArchive table instead. This property will be removed in a future release.")]
public DateTime? ArchivedDate { get; set; }
public void SetNewId()

View File

@@ -1,4 +1,6 @@
using Bit.Core.Entities;
#nullable enable
using Bit.Core.Entities;
namespace Bit.Core.Vault.Entities;

View File

@@ -1,4 +1,4 @@
using Bit.Infrastructure.EntityFramework.Models;
#nullable enable
namespace Bit.Infrastructure.EntityFramework.Vault.Models;