summaryrefslogtreecommitdiff
path: root/HBObject.cs
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2023-09-30 00:52:18 +1000
committerJake Mannens <jake@asger.xyz>2023-09-30 00:52:18 +1000
commit7170867a9a2650fa5a98b9e2664fb2114a0bf114 (patch)
tree203ba091c5782fdcf19ed53f2e3faf6749678746 /HBObject.cs
parentf9d34b1d61c3877c64828e23a0090f49c7418928 (diff)
Patched MemoryCache and DB schema
Diffstat (limited to 'HBObject.cs')
-rw-r--r--HBObject.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/HBObject.cs b/HBObject.cs
index 2962adf..00ddfad 100644
--- a/HBObject.cs
+++ b/HBObject.cs
@@ -11,6 +11,7 @@ public class HBObject {
public int ObjectId { get; set; }
public Guid Guid { get; set; } = Guid.NewGuid();
public virtual List<Tag> Tags { get; set; } = new();
+ [ForeignKey("AclId")]
public Acl? Acl { get; set; }
public SecurityIdentifier Owner { get; set; } =
new SecurityIdentifier(WellKnownSidType.WorldSid);