1
0
mirror of https://github.com/bitwarden/server synced 2025-12-21 10:43:44 +00:00
This commit is contained in:
jaasen-livefront
2025-11-13 18:47:50 -08:00
parent 690822d13f
commit b29e22d189
2 changed files with 1 additions and 5 deletions

View File

@@ -9,8 +9,6 @@ public class CipherArchive
public Guid CipherId { get; set; }
public Guid UserId { get; set; }
public DateTime ArchivedDate { get; set; }
// Navigation props
public Cipher Cipher { get; set; }
public User User { get; set; } // optional, matches FK
public User User { get; set; }
}

View File

@@ -12,7 +12,6 @@ BEGIN
END;
GO
-- FK → Cipher
IF NOT EXISTS (
SELECT 1
FROM sys.foreign_keys
@@ -28,7 +27,6 @@ BEGIN
END;
GO
-- FK → User
IF NOT EXISTS (
SELECT 1
FROM sys.foreign_keys