aboutsummaryrefslogtreecommitdiff
path: root/API/Migrations/DevHiveContextModelSnapshot.cs
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2020-12-11 21:06:18 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2020-12-11 21:06:18 +0200
commit62c14b8cb87135d2c2bbb86b6bbb480be6a91bbd (patch)
treefdf73e647b448e179d87edcfc0beb450f390d7ee /API/Migrations/DevHiveContextModelSnapshot.cs
parent09aeb13a95ab573b05813ba563c322e854540c3e (diff)
downloadDevHive-62c14b8cb87135d2c2bbb86b6bbb480be6a91bbd.tar
DevHive-62c14b8cb87135d2c2bbb86b6bbb480be6a91bbd.tar.gz
DevHive-62c14b8cb87135d2c2bbb86b6bbb480be6a91bbd.zip
Added very simple and insecure roles
Diffstat (limited to 'API/Migrations/DevHiveContextModelSnapshot.cs')
-rw-r--r--API/Migrations/DevHiveContextModelSnapshot.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/API/Migrations/DevHiveContextModelSnapshot.cs b/API/Migrations/DevHiveContextModelSnapshot.cs
index eb9d6a4..56b50d9 100644
--- a/API/Migrations/DevHiveContextModelSnapshot.cs
+++ b/API/Migrations/DevHiveContextModelSnapshot.cs
@@ -126,6 +126,9 @@ namespace API.Migrations
b.Property<string>("ProfilePicture")
.HasColumnType("text");
+ b.Property<string>("Role")
+ .HasColumnType("text");
+
b.Property<string>("SecurityStamp")
.HasColumnType("text");
@@ -146,6 +149,9 @@ namespace API.Migrations
.IsUnique()
.HasDatabaseName("UserNameIndex");
+ b.HasIndex("UserName")
+ .IsUnique();
+
b.ToTable("AspNetUsers");
});