mirror of
https://github.com/bitwarden/server
synced 2025-12-21 18:53:41 +00:00
cleanup
This commit is contained in:
@@ -9,8 +9,6 @@ public class CipherArchive
|
|||||||
public Guid CipherId { get; set; }
|
public Guid CipherId { get; set; }
|
||||||
public Guid UserId { get; set; }
|
public Guid UserId { get; set; }
|
||||||
public DateTime ArchivedDate { get; set; }
|
public DateTime ArchivedDate { get; set; }
|
||||||
|
|
||||||
// Navigation props
|
|
||||||
public Cipher Cipher { get; set; }
|
public Cipher Cipher { get; set; }
|
||||||
public User User { get; set; } // optional, matches FK
|
public User User { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ BEGIN
|
|||||||
END;
|
END;
|
||||||
GO
|
GO
|
||||||
|
|
||||||
-- FK → Cipher
|
|
||||||
IF NOT EXISTS (
|
IF NOT EXISTS (
|
||||||
SELECT 1
|
SELECT 1
|
||||||
FROM sys.foreign_keys
|
FROM sys.foreign_keys
|
||||||
@@ -28,7 +27,6 @@ BEGIN
|
|||||||
END;
|
END;
|
||||||
GO
|
GO
|
||||||
|
|
||||||
-- FK → User
|
|
||||||
IF NOT EXISTS (
|
IF NOT EXISTS (
|
||||||
SELECT 1
|
SELECT 1
|
||||||
FROM sys.foreign_keys
|
FROM sys.foreign_keys
|
||||||
|
|||||||
Reference in New Issue
Block a user