|
@@ -34,7 +34,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasIndex("UsersId");
|
|
|
|
|
|
- b.ToTable("ApplicationRoleApplicationUser");
|
|
|
+ b.ToTable("ApplicationRoleApplicationUser", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.Attendance", b =>
|
|
@@ -103,7 +103,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasIndex("CompanyId");
|
|
|
|
|
|
- b.ToTable("Attendances");
|
|
|
+ b.ToTable("Attendances", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.AttendanceLog", b =>
|
|
@@ -161,7 +161,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
- b.ToTable("AttendanceLogs");
|
|
|
+ b.ToTable("AttendanceLogs", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.AuthLog", b =>
|
|
@@ -219,7 +219,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
- b.ToTable("AuthLogs");
|
|
|
+ b.ToTable("AuthLogs", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.Base.AttachmentType", b =>
|
|
@@ -246,7 +246,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
- b.ToTable("AttachmentTypes");
|
|
|
+ b.ToTable("AttachmentTypes", (string)null);
|
|
|
|
|
|
b.HasData(
|
|
|
new
|
|
@@ -348,7 +348,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasIndex("CountryId");
|
|
|
|
|
|
- b.ToTable("Cities");
|
|
|
+ b.ToTable("Cities", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.Company", b =>
|
|
@@ -404,7 +404,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
- b.ToTable("Companies");
|
|
|
+ b.ToTable("Companies", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.CountryLookup", b =>
|
|
@@ -436,7 +436,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
- b.ToTable("CountryLookups");
|
|
|
+ b.ToTable("CountryLookups", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.FileLog", b =>
|
|
@@ -494,7 +494,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
- b.ToTable("FileLogs");
|
|
|
+ b.ToTable("FileLogs", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.Industry", b =>
|
|
@@ -518,7 +518,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
- b.ToTable("Industries");
|
|
|
+ b.ToTable("Industries", (string)null);
|
|
|
|
|
|
b.HasData(
|
|
|
new
|
|
@@ -844,7 +844,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
- b.ToTable("JobTitles");
|
|
|
+ b.ToTable("JobTitles", (string)null);
|
|
|
|
|
|
b.HasData(
|
|
|
new
|
|
@@ -1015,7 +1015,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
- b.ToTable("LeaveTypes");
|
|
|
+ b.ToTable("LeaveTypes", (string)null);
|
|
|
|
|
|
b.HasData(
|
|
|
new
|
|
@@ -1080,7 +1080,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
- b.ToTable("LoginOTPs");
|
|
|
+ b.ToTable("LoginOTPs", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.Meeting", b =>
|
|
@@ -1157,7 +1157,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasIndex("CompanyId");
|
|
|
|
|
|
- b.ToTable("Meetings");
|
|
|
+ b.ToTable("Meetings", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.MeetingLog", b =>
|
|
@@ -1215,7 +1215,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
- b.ToTable("MeetingLogs");
|
|
|
+ b.ToTable("MeetingLogs", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.MeetingUser", b =>
|
|
@@ -1260,7 +1260,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasIndex("MeetingId");
|
|
|
|
|
|
- b.ToTable("MeetingUser");
|
|
|
+ b.ToTable("MeetingUser", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.OrderAllocation", b =>
|
|
@@ -1317,7 +1317,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasIndex("OrderTypeId");
|
|
|
|
|
|
- b.ToTable("OrderAllocations");
|
|
|
+ b.ToTable("OrderAllocations", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.OrderType", b =>
|
|
@@ -1342,7 +1342,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
- b.ToTable("OrderTypes");
|
|
|
+ b.ToTable("OrderTypes", (string)null);
|
|
|
|
|
|
b.HasData(
|
|
|
new
|
|
@@ -1411,7 +1411,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
- b.ToTable("Permissions");
|
|
|
+ b.ToTable("Permissions", (string)null);
|
|
|
|
|
|
b.HasData(
|
|
|
new
|
|
@@ -1697,7 +1697,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasIndex("CompanyId");
|
|
|
|
|
|
- b.ToTable("Projects");
|
|
|
+ b.ToTable("Projects", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.ProjectTeam", b =>
|
|
@@ -1741,7 +1741,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasIndex("ProjectId");
|
|
|
|
|
|
- b.ToTable("ProjectTeam");
|
|
|
+ b.ToTable("ProjectTeam", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.Qualification", b =>
|
|
@@ -1765,7 +1765,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
- b.ToTable("Qualifications");
|
|
|
+ b.ToTable("Qualifications", (string)null);
|
|
|
|
|
|
b.HasData(
|
|
|
new
|
|
@@ -1843,7 +1843,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
- b.ToTable("RoleLogs");
|
|
|
+ b.ToTable("RoleLogs", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.SettingLog", b =>
|
|
@@ -1901,7 +1901,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
- b.ToTable("SettingLogs");
|
|
|
+ b.ToTable("SettingLogs", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.TaskUser", b =>
|
|
@@ -1945,7 +1945,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasIndex("TaskId");
|
|
|
|
|
|
- b.ToTable("TaskUser");
|
|
|
+ b.ToTable("TaskUser", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.Team", b =>
|
|
@@ -2001,7 +2001,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasIndex("CompanyId");
|
|
|
|
|
|
- b.ToTable("Teams");
|
|
|
+ b.ToTable("Teams", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.TeamLog", b =>
|
|
@@ -2059,7 +2059,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
- b.ToTable("TeamLogs");
|
|
|
+ b.ToTable("TeamLogs", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.TeamUser", b =>
|
|
@@ -2107,7 +2107,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasIndex("TeamId");
|
|
|
|
|
|
- b.ToTable("TeamUser");
|
|
|
+ b.ToTable("TeamUser", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.University", b =>
|
|
@@ -2131,7 +2131,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
- b.ToTable("Universities");
|
|
|
+ b.ToTable("Universities", (string)null);
|
|
|
|
|
|
b.HasData(
|
|
|
new
|
|
@@ -2235,7 +2235,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasIndex("OrderTypeId");
|
|
|
|
|
|
- b.ToTable("OrderRequests");
|
|
|
+ b.ToTable("OrderRequests", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.UserLog", b =>
|
|
@@ -2293,7 +2293,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
- b.ToTable("UserLogs");
|
|
|
+ b.ToTable("UserLogs", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.UserTask", b =>
|
|
@@ -2367,7 +2367,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasIndex("StatusId");
|
|
|
|
|
|
- b.ToTable("UserTasks");
|
|
|
+ b.ToTable("UserTasks", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.UserTaskAttachment", b =>
|
|
@@ -2427,7 +2427,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasIndex("TaskId");
|
|
|
|
|
|
- b.ToTable("UserTaskAttachments");
|
|
|
+ b.ToTable("UserTaskAttachments", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.UserTaskHistory", b =>
|
|
@@ -2479,7 +2479,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasIndex("TaskId");
|
|
|
|
|
|
- b.ToTable("UserTaskHistories");
|
|
|
+ b.ToTable("UserTaskHistories", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.UserTaskLog", b =>
|
|
@@ -2537,7 +2537,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
- b.ToTable("UserTaskLogs");
|
|
|
+ b.ToTable("UserTaskLogs", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.UserTaskStatus", b =>
|
|
@@ -2561,7 +2561,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
- b.ToTable("UserTaskStatuses");
|
|
|
+ b.ToTable("UserTaskStatuses", (string)null);
|
|
|
|
|
|
b.HasData(
|
|
|
new
|
|
@@ -2901,7 +2901,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasIndex("RoleId");
|
|
|
|
|
|
- b.ToTable("RolePermissions");
|
|
|
+ b.ToTable("RolePermissions", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Infrastructure.Entities.UserAddress", b =>
|
|
@@ -2956,7 +2956,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
b.HasIndex("UserId")
|
|
|
.IsUnique();
|
|
|
|
|
|
- b.ToTable("UserAddress");
|
|
|
+ b.ToTable("UserAddress", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Infrastructure.Entities.UserAttachment", b =>
|
|
@@ -3019,7 +3019,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
|
|
|
b.HasIndex("UserId");
|
|
|
|
|
|
- b.ToTable("UserAttachments");
|
|
|
+ b.ToTable("UserAttachments", (string)null);
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRoleClaim<string>", b =>
|