From 62c14b8cb87135d2c2bbb86b6bbb480be6a91bbd Mon Sep 17 00:00:00 2001 From: Syndamia Date: Fri, 11 Dec 2020 21:06:18 +0200 Subject: Added very simple and insecure roles --- API/Migrations/DevHiveContextModelSnapshot.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'API/Migrations/DevHiveContextModelSnapshot.cs') 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("ProfilePicture") .HasColumnType("text"); + b.Property("Role") + .HasColumnType("text"); + b.Property("SecurityStamp") .HasColumnType("text"); @@ -146,6 +149,9 @@ namespace API.Migrations .IsUnique() .HasDatabaseName("UserNameIndex"); + b.HasIndex("UserName") + .IsUnique(); + b.ToTable("AspNetUsers"); }); -- cgit v1.2.3