Website Summary Files Commits Branches @commit @diff @stats
path: root / API / Migrations / DevHiveContextModelSnapshot.cs
diff options
context:
space:
mode:
Commit62c14b8cb87135d2c2bbb86b6bbb480be6a91bbd (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2020-12-11 21:06:18 +0200
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2020-12-11 21:06:18 +0200
Filesfdf73e647b448e179d87edcfc0beb450f390d7ee /API/Migrations/DevHiveContextModelSnapshot.cs
DevHive-62c14b8cb87135d2c2bbb86b6bbb480be6a91bbd.tar
DevHive-62c14b8cb87135d2c2bbb86b6bbb480be6a91bbd.tar.gz
DevHive-62c14b8cb87135d2c2bbb86b6bbb480be6a91bbd.zip
Parent09aeb13a95ab573b05813ba563c322e854540c3e (diff)
Added very simple and insecure roles
1 files changed, 6 insertions, 0 deletions
-rw-r--r--API/Migrations/DevHiveContextModelSnapshot.cs6
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");
});