aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Data/Models/Role.cs
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2021-01-24 00:07:44 +0200
committertranstrike <transtrike@gmail.com>2021-01-24 00:07:44 +0200
commitf910a2a63cb83b35c6589591400a69c8f7f7917c (patch)
tree2e601172f734d53ab7a903426ea2d674b5048a76 /src/DevHive.Data/Models/Role.cs
parente01a81954e0fba2c4521e03a76f48a970a87994f (diff)
downloadDevHive-f910a2a63cb83b35c6589591400a69c8f7f7917c.tar
DevHive-f910a2a63cb83b35c6589591400a69c8f7f7917c.tar.gz
DevHive-f910a2a63cb83b35c6589591400a69c8f7f7917c.zip
Migrations added; CRUD over Posts&Comments successfully completed
Diffstat (limited to 'src/DevHive.Data/Models/Role.cs')
-rw-r--r--src/DevHive.Data/Models/Role.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DevHive.Data/Models/Role.cs b/src/DevHive.Data/Models/Role.cs
index e0855aa..259d867 100644
--- a/src/DevHive.Data/Models/Role.cs
+++ b/src/DevHive.Data/Models/Role.cs
@@ -12,6 +12,6 @@ namespace DevHive.Data.Models
public const string DefaultRole = "User";
public const string AdminRole = "Admin";
- public HashSet<User> Users { get; set; }
+ public HashSet<User> Users { get; set; } = new();
}
}