From 787ca778feee7ab75737738610fd46083dc8c9da Mon Sep 17 00:00:00 2001 From: kotcheshir73 Date: Sat, 3 Apr 2021 10:58:34 +0400 Subject: [PATCH] =?UTF-8?q?=D0=B2=20=D0=B4=D0=BE=D0=B3=D0=BE=D0=BD=D0=BA?= =?UTF-8?q?=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DepartmentPortal/Common/DatabaseCore/DatabaseContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DepartmentPortal/Common/DatabaseCore/DatabaseContext.cs b/DepartmentPortal/Common/DatabaseCore/DatabaseContext.cs index 15ef624..33c046e 100644 --- a/DepartmentPortal/Common/DatabaseCore/DatabaseContext.cs +++ b/DepartmentPortal/Common/DatabaseCore/DatabaseContext.cs @@ -30,7 +30,7 @@ namespace DatabaseCore modelBuilder.Entity().HasIndex(s => s.RoleName).IsUnique(); - modelBuilder.Entity().HasIndex(s => s.UserName; + modelBuilder.Entity().HasIndex(s => s.UserName); modelBuilder.Entity().HasIndex(s => s.EmployeePostName).IsUnique();